Skip to content

Instantly share code, notes, and snippets.

@emilyruby emilyruby/bad_example.jsx
Last active Jan 2, 2018

Embed
What would you like to do?
class List extends React.Component {
render() {
return (
<ul>
<ListItem />
</ul>
);
}
}
class ListItem extends React.Component {
render() {
return (
<div>
<li>Hello</li>
<li>World</li>
</div>
);
}
}
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.