Replies: 2 comments
-
react suspense not support ssr currently, try with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Don't know why, but editing the react and react-dom dependencies worked for me - package.json
then run |
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
-
If I try to use
Suspense
with thestyled-components
example here, I get a "ReactDOMServer does not yet support Suspense" error, stemming from thectx.renderPage
in the custom_document.js
file. Does anyone know how to configure this to work?CodeSandbox: https://codesandbox.io/s/broken-darkness-ngpy0?file=/pages/index.js
Error:
Beta Was this translation helpful? Give feedback.
All reactions