Skip to content

Instantly share code, notes, and snippets.

@GKhalsa
Last active January 18, 2018 01:27
Show Gist options
  • Save GKhalsa/753f99a7c05921cc2f3e890cf5618b27 to your computer and use it in GitHub Desktop.
Save GKhalsa/753f99a7c05921cc2f3e890cf5618b27 to your computer and use it in GitHub Desktop.
class App {
render() {
return React.createElement('div', null, this.props.message)
}
}
ReactDOM.render(React.createElement(App, {message: "this is the result of calling this.props.message"}),
document.getElementById('root'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment