Skip to content

Instantly share code, notes, and snippets.

@franleplant
Created January 26, 2017 20:47
Embed
What would you like to do?
HOC dont remove
function toClass(Component) {
return ClassWrapper extends React.Component {
render() {
return <Component {...this.props} />
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment