Created
June 9, 2018 14:52
-
-
Save TheBrown/ab6c6c61e22b5210d1df36a20edb2f01 to your computer and use it in GitHub Desktop.
jsx in react.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const name = 'saleumsack'; | |
const element = <h1>Sabaidee {name}</h1>; | |
ReactDom.render( | |
element, | |
document.getElementById('root') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment