diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-06-21 21:54:42 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-06-21 21:54:42 +0300 |
| commit | 448696e920cc06f18a023dc2ebf304690f711edd (patch) | |
| tree | 8f492fc2fc58d3fd5e856cb652d9caeba8e034b0 /index.js | |
| parent | bebde1a43d5604104beed17d81bfcbf446d37880 (diff) | |
Working version
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1 +1,4 @@ -document.write("It works."); +import React from 'react' +import ReactDOM from 'react-dom' + +ReactDOM.render(<h1>Hello World</h1>, document.getElementById('root')) |
