diff options
| author | bndw <benjamindwoodward@gmail.com> | 2020-05-30 10:15:45 -0700 |
|---|---|---|
| committer | bndw <benjamindwoodward@gmail.com> | 2020-05-30 10:15:45 -0700 |
| commit | e177a74c9ea505284c8debf086f785a43d88f90b (patch) | |
| tree | b740f156a74c37bdfeae29b39617ca6a25307e8f /src/index.js | |
Initialize project using Create React App
Diffstat (limited to 'src/index.js')
| -rw-r--r-- | src/index.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..f5185c1 --- /dev/null +++ b/src/index.js | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | import React from 'react'; | ||
| 2 | import ReactDOM from 'react-dom'; | ||
| 3 | import './index.css'; | ||
| 4 | import App from './App'; | ||
| 5 | import * as serviceWorker from './serviceWorker'; | ||
| 6 | |||
| 7 | ReactDOM.render( | ||
| 8 | <React.StrictMode> | ||
| 9 | <App /> | ||
| 10 | </React.StrictMode>, | ||
| 11 | document.getElementById('root') | ||
| 12 | ); | ||
| 13 | |||
| 14 | // If you want your app to work offline and load faster, you can change | ||
| 15 | // unregister() to register() below. Note this comes with some pitfalls. | ||
| 16 | // Learn more about service workers: https://bit.ly/CRA-PWA | ||
| 17 | serviceWorker.unregister(); | ||
