Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Mar 23, 2022
1 parent 1017873 commit 2fb80ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/advanced-features/react-18/streaming.md
Expand Up @@ -68,6 +68,6 @@ Currently, data fetching within `Suspense` boundaries on the server side is not

#### Styling

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.
Global CSS, CSS modules and Next.js built-in `styled-jsx` are supported with streaming. The Next.js team is working on the guide of integrating other CSS-in-JS solutions in streaming SSR. Stay tuned for updates.

Notice that for React Server Components, `styled-jsx` should be only placed in client components.
> Note: The styling code should be only placed in client components, not server components, when using React Server Components

0 comments on commit 2fb80ff

Please sign in to comment.