Skip to content
Discussion options

You must be logged in to vote

The way SSR streaming in React works is that it send an inline script with the code needed by React to update the UI on the correct place.

To be able to work without JS, React would have to stop using out of order streaming and instead block the while UI from rendering server-side until that suspense boundary is resolved, then stream the HTML and keep working on the rest.

Additionally to that, React Router also uses inline JS to send the resolved promises data to append it to the data the framework has, so also the data needs JS. But the first one to need JS is React, even if React Router changed the way it works you will need JS.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@silvenon
Comment options

Answer selected by silvenon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants