CreateRoot in React 18
Created by Codedamn about a year ago
No description provided
I am getting this error after when I upgrade react to alfa : TypeError: react_dom__WEBPACK_IMPORTED_MODULE_1___default.a.createRoot is not a function
I am getting an error of react dom is not defined even though i am using ..... import ReactDom from 'react-dom'...don't know what to do now
why are you use playground instead of local editor? and how to create .jsx files?
uh must have used the vs code or any code editor coz playground is not working properly
how to do this in a local computer. In my vs-code editor if i run npx create-app myapp only js files are created not jsx why?
Currently react is in beta stage. So, install it as follows
npm install react@beta
I'm having difficulties to upgrade to react 18 on the playground
its been fustrating...why dont you slow down as there are lot of beginners who cant follow if you go this fast
if you do not understand at some point just pause it. and use chat-gpt.
"if you are confused is fine" ---lol
I am struggling to play the video , anyone can help me with this ?