summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-06-21 21:54:42 +0300
committerYuval Adam <yuval@y3xz.com>2016-06-21 21:54:42 +0300
commit448696e920cc06f18a023dc2ebf304690f711edd (patch)
tree8f492fc2fc58d3fd5e856cb652d9caeba8e034b0 /index.js
parentbebde1a43d5604104beed17d81bfcbf446d37880 (diff)
Working version
Diffstat (limited to 'index.js')
-rw-r--r--index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.js b/index.js
index 702f19a..73d47e6 100644
--- a/index.js
+++ b/index.js
@@ -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'))