diff options
author | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2023-04-27 22:29:42 -0400 |
---|---|---|
committer | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2023-04-27 22:29:42 -0400 |
commit | a0b8dc6005af538f37a36d6069224b52ac9d060f (patch) | |
tree | c81288546a15e1f560193922b95f82626c04d45d /part2/courseinfo2/src/index.js | |
parent | d99c21e5731c82beee2dc2fe551663f9d2fd9575 (diff) |
ex2.1 Array.map to display unlimited components
Diffstat (limited to 'part2/courseinfo2/src/index.js')
-rw-r--r-- | part2/courseinfo2/src/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/part2/courseinfo2/src/index.js b/part2/courseinfo2/src/index.js new file mode 100644 index 0000000..a9e69b3 --- /dev/null +++ b/part2/courseinfo2/src/index.js @@ -0,0 +1,6 @@ +import React from 'react'; +import ReactDOM from 'react-dom/client'; + +import App from './App'; + +ReactDOM.createRoot(document.getElementById('root')).render(<App />); |