Skip to content

Instantly share code, notes, and snippets.

Created Dec 4, 2017
What would you like to do?
render() {
const { components } = this.state;
const { events } = this.props;
if (components.length !== events.length) return <div>Loading...</div>;
components.sort((c1, c2) => -;
return <div className="App">{components}</div>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment