From 5dc2a1bc5df902811d5ff1b6aac55de4529d2ef6 Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Wed, 23 Mar 2022 11:36:26 +0100 Subject: [PATCH] update --- docs/advanced-features/react-18/streaming.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced-features/react-18/streaming.md b/docs/advanced-features/react-18/streaming.md index c43c10d6e628..a3d81f41ef40 100644 --- a/docs/advanced-features/react-18/streaming.md +++ b/docs/advanced-features/react-18/streaming.md @@ -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. +React inline styles, 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