You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the code samples on the Add React to a Website guide (using v18 .development.js scripts) there is a warning in the browser console:
Warning: You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".
printWarning @ react-dom.development.js:73
error @ react-dom.development.js:47
createRoot$1 @ react-dom.development.js:29540
(anonymous) @ (index):32
I don't see any obvious way to import react-dom/client from unpkg.
The text was updated successfully, but these errors were encountered:
After following the code samples on the Add React to a Website guide (using v18
.development.js
scripts) there is a warning in the browser console:I don't see any obvious way to import react-dom/client from unpkg.
The text was updated successfully, but these errors were encountered: