Replies: 1 comment 1 reply
-
ssr solutions have fallbacks for suspense, BrowserOnly in docusaurus for instance. if you cant use it still, useLoader is just new Loader().load(url, setState) so there is no reason why calling that directly should slow anything down, it just wouldnt be as comfortable. |
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.
-
Hi, there is a problem related to React library which not yet supports Suspense hoc while server-side-rendering (like Gatsby).
While Suspense seems to be required when using any useLoader.
I handled this by loading my fonts and textures with native THREE loaders, which causes a significant delay on initial render.
Please help. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions