summaryrefslogtreecommitdiff
path: root/sample-apps/react-chat/src/index.js
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-03-02 03:14:02 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-03-02 03:14:02 -0800
commit3852df353ba1d9e767c2435e19ad887306d36fa1 (patch)
treea43f20e904d07def08bfacbc89b159979145444b /sample-apps/react-chat/src/index.js
parent24e5c8c974cb15609c461f9a37af84172e457254 (diff)
Add sample app scaffolding
Diffstat (limited to 'sample-apps/react-chat/src/index.js')
-rwxr-xr-xsample-apps/react-chat/src/index.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/sample-apps/react-chat/src/index.js b/sample-apps/react-chat/src/index.js
new file mode 100755
index 0000000..0c5e75d
--- /dev/null
+++ b/sample-apps/react-chat/src/index.js
@@ -0,0 +1,12 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import './index.css';
+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();