-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
I'm looking at how to implement SSR emotion with react 18.
React18 made renderToPipeableStream method the new recommended way and deprecated the renderToNodeStream method.
The documentation only seems to deal with the now deprecated renderToNodeStream and I can't figure out how to make it works with the pipeable stream.
cf:
https://reactjs.org/docs/react-dom-server.html#rendertonodestream
https://emotion.sh/docs/ssr#renderstylestonodestream
Documentation links:
https://emotion.sh/docs/ssr
zachsa, karmeleon, etulo, Tjerk-Haaye-Henricus, Jetisr and 31 moretomverelst