diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-25 16:16:32 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-25 16:16:32 +0530 |
commit | ecff3ce21dc1fb68cbe62533a1798bc7b4c061ba (patch) | |
tree | 5a99ea7e2b69f6dd59275599db10df3cecce03b1 /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..d563c0f --- /dev/null +++ b/src/index.js @@ -0,0 +1,17 @@ +import React from 'react'; +import ReactDOM from 'react-dom/client'; +import './index.css'; +import App from './App'; +import reportWebVitals from './reportWebVitals'; + +const root = ReactDOM.createRoot(document.getElementById('root')); +root.render( + <React.StrictMode> + <App /> + </React.StrictMode> +); + +// If you want to start measuring performance in your app, pass a function +// to log results (for example: reportWebVitals(console.log)) +// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals +reportWebVitals(); |