mirror of
https://github.com/facebook/react.git
synced 2026-02-22 20:01:52 +00:00
Defaults to true in browser builds, otherwise defaults to false. The assumption is that the server logs will already contain a log from the original Flight server. We currently always replay console logs but this leads to duplicates on the server by default when you use SSR, because the Flight Client on the server replays the logs. This can be nice since those logs gets badged. It can also be nice if they're running in separate servers but when they're logging to the same stream it's annoying. Which is really the typical set up so we should just make that the default but leave it configurable.
react-server-dom-esm
Experimental React Flight bindings for DOM using ESM.
Use it at your own risk.