Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class List extends React.Component {
render() {
return (
<ul>
<ListItem />
</ul>
);
}
}
class ListItem extends React.Component {
render() {
return (
<React.Fragment>
<li>Hello</li>
<li>World</li>
</React.Fragment>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.