aboutsummaryrefslogtreecommitdiff
path: root/part4/blog/src/index.js.bak
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2023-06-18 01:53:37 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2023-06-18 01:58:08 -0400
commitcbaabb55447e63a1fc0248fe3a2b5bb47eb71735 (patch)
treefd02b761304a17b817088a86446155dc80f23da0 /part4/blog/src/index.js.bak
parent9f0fd764b643b5af8407435314fb23d10520ff76 (diff)
ex4.1 project structuring with node
Diffstat (limited to 'part4/blog/src/index.js.bak')
-rw-r--r--part4/blog/src/index.js.bak8
1 files changed, 8 insertions, 0 deletions
diff --git a/part4/blog/src/index.js.bak b/part4/blog/src/index.js.bak
new file mode 100644
index 0000000..8b1c250
--- /dev/null
+++ b/part4/blog/src/index.js.bak
@@ -0,0 +1,8 @@
+import React from 'react';
+import ReactDOM from 'react-dom/client';
+import App from './App';
+
+const root = ReactDOM.createRoot(document.getElementById('root'));
+root.render(
+ <App />
+);