diff options
Diffstat (limited to 'part4/blog/src/index.js.bak')
-rw-r--r-- | part4/blog/src/index.js.bak | 8 |
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 /> +); |