aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-01-28 01:59:42 -0500
committerDeterminant <ted.sybil@gmail.com>2019-01-28 01:59:42 -0500
commit1d2773cbf4c15fd5b1384f7bd993edb63a460c3a (patch)
tree279aaa50a9f6189cd50bb6ad0207b93a44049929 /src/index.js
parent9eec5b0d0ca748a73abe23511688bbba9b906c22 (diff)
use React; impl the prototype
Diffstat (limited to 'src/index.js')
-rwxr-xr-xsrc/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
new file mode 100755
index 0000000..955691f
--- /dev/null
+++ b/src/index.js
@@ -0,0 +1,11 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import App from './App';
+import * as serviceWorker from './serviceWorker';
+
+ReactDOM.render(<App />, document.getElementById('root'));
+
+// If you want your app to work offline and load faster, you can change
+// unregister() to register() below. Note this comes with some pitfalls.
+// Learn more about service workers: http://bit.ly/CRA-PWA
+serviceWorker.unregister();