Use more Reacty example (#705)

Co-authored-by: Diego Augusto <diego.augusto@neemu.com>
Co-authored-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Diego Augusto 2020-03-29 12:39:54 -03:00 committed by GitHub
parent 898f4c9749
commit 9bd74920fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
r/react.js vendored
View File

@ -1 +1,5 @@
React.render(<h1>Hello World</h1>, document.body);
function Hello() {
return <h1>Hello World</h1>;
}
React.render(<Hello />, document.body);