react-three-fiber: React 18 bug: Cannot create property '_updatedFibers
See https://github.com/facebook/react/issues/24049
I ran into it with
"react": "^18.0.0-rc.2",
"@react-three/fiber": "^8.0.0-beta.3",
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 8
- Comments: 29 (7 by maintainers)
use react 18 and react-three-fiber works like charm
R3F depends on react 18 as a peer dependency, looks like you’re on an older version.
Nevermind, false alarm
Hello - this is not fixed. I am running 18.0.2 of React and am getting the same error -
Uncaught TypeError: Cannot create property ‘_updatedFibers’ on number ‘0’
Any update on this please?
Yes, I’d see https://github.com/pmndrs/react-three-fiber/issues/2134#issuecomment-1233946942 for how to resolve this.
that 's worked for my project …tnx
wrong react version, use 18 instead
How did you fix that, I got this error. when I remove the Canvas which was imported from @react-three/fiber. it works good. but I need that Canvas n my code
