The server side module ReactServer.renderToString is super useful as a template engine for static html page templating with lightweight dependencies.
I was wondering wether it could be good to have a version of the function that doesn't add the reactroot, and that can write to a stream instead of returning a string…
The server side module
ReactServer.renderToString
is super useful as a template engine for static html page templating with lightweight dependencies.I was wondering wether it could be good to have a version of the function that doesn't add the reactroot, and that can write to a stream instead of returning a string…
If it makes sense, I can propose a PR of course.