Closed dustinlacewell closed 3 years ago
When using @react-three/fiber 6.0.1 and @react-three/cannon 0.6.1, the following error happens:
@react-three/fiber
@react-three/cannon
TypeError (0 , $csb__reactthreefiber.useThree) is not a function at K (https://lfl4q.csb.app/node_modules/reactthree/cannon/dist/index.js:177:69
It's reproduced in the sandbox below:
https://codesandbox.io/s/r3f-cannon-instanced-physics-forked-lfl4q?file=/src/index.js
When using
@react-three/fiber
6.0.1 and@react-three/cannon
0.6.1, the following error happens:It's reproduced in the sandbox below:
https://codesandbox.io/s/r3f-cannon-instanced-physics-forked-lfl4q?file=/src/index.js