Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const User = ({ name, friends }) => (
<div>
Name: {name}
{friends.map(friend => (
<User key={friend.name} {...friend} />
))}
</div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment