Adding r3f-perf to react-three-next and using the component inside layout/canvas gives me following error:
Uncaught R3F hooks can only be used within the Canvas component!
I use the component inside Canvas. In any other app it works.
Here is my package.json:
Adding r3f-perf to react-three-next and using the component inside layout/canvas gives me following error:
Uncaught R3F hooks can only be used within the Canvas component!
I use the component inside Canvas. In any other app it works. Here is my package.json:And here is where I use the component: