React 18 warning
Bornide
Hi, I'm just making a test game with playroom kit and I got the famous "Warning: You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".
I know Playroom kit doesn't support React19, but it should support react18 right ?
Here's my dependencies :
"dependencies": {
"@react-three/drei": "^9.75.0",
"@react-three/fiber": "8.13.3",
"@react-three/postprocessing": "^2.15.1",
"@react-three/rapier": "^1.1.1",
"@types/three": "0.152.1",
"leva": "^0.9.35",
"playroomkit": "^0.0.91",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"three": "^0.179.1",
"three-stdlib": "^2.27.1"
},
"devDependencies": {
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@vitejs/plugin-react": "^5.0.1",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.3",
"vite": "^7.1.3"
}