Closed jchavarri closed 11 months ago
Why don't we make ReactDOMServer
itself the entire separate library?
Check https://github.com/reasonml/reason-react/pull/819 with a proposal.
I'm not a big fan of node-only
since that also works in deno, bun, other runtimes.
Instead, my proposal separates the entire ReactDOMServer
module to a new reason-react.dom-server
library.
Let me know what you think.
Fixes #814.
Adds a new library
reason-react.node-only
that only includes the binding torenderToPipeableStream
and companion types and utilities.