r3f next.js starter: ReactDOMServer does not yet support Suspense. #1264
Unanswered
jamesryan-dev
asked this question in
Q&A
Replies: 1 comment
-
no idea about the next thing, in docusaurus i use their BrowserOnly component to solve it. the suspense around the canvas does nothing. canvas opens another react root, with another react renderer. the suspense has to be withing the canvas if you're waiting for a model to load. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Edit 1: I am also using Styled-components so this might be the root of the issue which I'm in discussions with people who potentially resolved at here
Refactoring a next.js x r3f project to utilise the new starter in an attempt to optimise (so thankyou v much for this next starter!) however in my port I have run into this error:
An example of the
<Suspense>
in use:Canvas in use:
Any advice appreciated as not sure how to progress..
Thanks
Beta Was this translation helpful? Give feedback.
All reactions