-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update styling support for streaming #35375
Conversation
@@ -68,4 +68,6 @@ Currently, data fetching within `Suspense` boundaries on the server side is not | |||
|
|||
#### Styling | |||
|
|||
The Next.js team is working on support for `styled-jsx` and CSS modules in streaming SSR. Stay tuned for updates. | |||
So far only `styled-jsx` is supported with streaming. The Next.js team is working on support for CSS modules and other CSS solutions in streaming SSR. Stay tuned for updates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we link to a RFC or Discussion for the updates?
@@ -68,4 +68,6 @@ Currently, data fetching within `Suspense` boundaries on the server side is not | |||
|
|||
#### Styling | |||
|
|||
The Next.js team is working on support for `styled-jsx` and CSS modules in streaming SSR. Stay tuned for updates. | |||
So far only `styled-jsx` is supported with streaming. The Next.js team is working on support for CSS modules and other CSS solutions in streaming SSR. Stay tuned for updates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unstable_useFlushEffects
should be sufficient for any library that follows the recommended upgrade guide. It's just that styled-jsx
support is built-in and happens to be the only one (as far as I know) that has done so.
Co-authored-by: Shu Ding <g@shud.in>
Documentation / Examples
yarn lint