summaryrefslogtreecommitdiffstats
path: root/client/src/index.js
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-06-27 16:15:51 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-06-27 16:15:51 +0530
commite98952d946913b4bc1672ead042339d66d491b35 (patch)
tree96706645f37f8379fa35001c172eaee88c5fe7b4 /client/src/index.js
parent26dc4df1218e6d7235fc196b556da122054247df (diff)
downloadinsta-local-e98952d946913b4bc1672ead042339d66d491b35.tar.gz
insta-local-e98952d946913b4bc1672ead042339d66d491b35.tar.bz2
insta-local-e98952d946913b4bc1672ead042339d66d491b35.zip
added react app
Diffstat (limited to 'client/src/index.js')
-rw-r--r--client/src/index.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/client/src/index.js b/client/src/index.js
new file mode 100644
index 0000000..d563c0f
--- /dev/null
+++ b/client/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();