added a simple react.js example
This commit is contained in:
3
r/react.js
vendored
Normal file
3
r/react.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
//simple react component that renders "Hello World" as an H1 tag into the body
|
||||
|
||||
React.render(<h1>Hello World</h1>, document.body);
|
||||
Reference in New Issue
Block a user