mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
When `renderModelDestructive` unwraps a lazy element and subsequently calls `renderModelDestructive` again with the resolved model, we should preserve the parent connection so that cyclic references can be serialized properly. This can occur in an advanced scenario where the result from the Flight Client is serialized again with the Flight Server, e.g. for slicing a precomputed payload into multiple parts. Note: The added test only fails when run with `--prod`. In dev mode, the component info outlining prevents the issue from occurring.
react-server-dom-webpack
Experimental React Flight bindings for DOM using Webpack.
Use it at your own risk.