I tried to replace renderToString
with renderToNodeStream
in my React SSR.
The browser ended up stuck waiting for the stream to start (stuck in loading, but nothing ever arrived).
I have Helmet, styled-components, and node-cache on the server side logic.
After removing all of them, leaving just the bare essentials
sink.renderIntoElementById(“react-app”, renderToNodeStream());
The problem still remains.
Has anyone tried renderToNodeStream
and got it to work?