Created
May 6, 2018 05:01
-
-
Save maxfarseer/e62355bb86ea17eb7e4723678a27a0d1 to your computer and use it in GitHub Desktop.
Код для статьи A Comprehensive Guide to React.js in 2018 2
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
import React from 'react' | |
import ReactDOM from 'react-dom' | |
class HelloWorld extends React.Component { | |
render() { | |
return ( | |
<div>Hello World!</div> | |
) | |
} | |
} | |
ReactDOM.render(<HelloWorld />, document.getElementById('root')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment