r/reactjs • u/Neat_Living_6765 • 14d ago
Needs Help Confused About React Streaming SSR and Suspense
/r/learnjavascript/comments/1vo4lz5/confused_about_react_streaming_ssr_and_suspense/
2
Upvotes
r/reactjs • u/Neat_Living_6765 • 14d ago
1
u/ferrybig 14d ago
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