Skip to content

Instantly share code, notes, and snippets.

@nelix
Created March 1, 2014 21:21
var itmes = this.props.ifSomething && arayOfThings.map(
function(thing) {
return <li>{thing}</li>
}
);
return (
<ul>{items}</ul>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment