Replies: 1 comment 1 reply
-
cant you make a module in which you handle canvas and that module you import dynamically? r3f exports regular components, functions and types, i don't think there's anything special it could do otherwise. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use dynamic import to load react-three-fiber, because it has big size. But using ES6 dynamic import I need to define a type for all stuff that react-three-fiber exports to use it in my components.
How can I achieve that?
Beta Was this translation helpful? Give feedback.
All reactions