mirror of
https://github.com/facebook/react.git
synced 2026-02-24 04:33:04 +00:00
Allow aborting encoding arguments to a Server Action if a Promise doesn't resolve. That way at least part of the arguments can be used on the receiving side. This leaves it unresolved in the stream rather than encoding an error. This should error on the receiving side when the stream closes but it doesn't right now in the Edge/Browser versions because closing happens immediately before we've had a chance to call `.then()` so the Chunks are still in pending state. This is an existing bug also in FlightClient.
react-server-dom-webpack
Experimental React Flight bindings for DOM using Webpack.
Use it at your own risk.