r/reactjs • u/Neat_Living_6765 • Aug 14 '26
Needs Help Confused About React Streaming SSR and Suspense
/r/learnjavascript/comments/1vo4lz5/confused_about_react_streaming_ssr_and_suspense/
2
Upvotes
1
u/Neat_Living_6765 Aug 14 '26
It seems like Reddit rejected my previous post because it included links, so I’m posting it here instead.
https://react.dev/reference/react-dom/server/renderToPipeableStream
https://dev.to/maxh1t/advanced-react-ssr-techniques-with-streaming-and-dynamic-data-mf6
https://javascriptpatterns.vercel.app/patterns/rendering-patterns/streaming-ssr
The explanation of Streams in this blog makes more sense to me:
https://medium.com/@neonpie_official/streaming-server-side-rendering-explained-briefly-5a73a66e3f0b
1
u/ferrybig Aug 14 '26
If you treat every component as something streamable, you quickly get into the layout shift area.
Think of an HTML table with no styling, even the contents of row 100, column 4 affect ow the table look like if it is larger.
You need to add Suspense boundaries on places in the app where you want a loading indicator. You as a web developer are knowledgeable enough about your app to choose independent units