mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
This lets us pass a writable on the server side and readable on the client side to send debug info through a separate channel so that it doesn't interfere with the main payload as much. The main payload refers to chunks defined in the debug info which means it's still blocked on it though. This ensures that the debug data has loaded by the time the value is rendered so that the next step can forward the data. This will be a bit fragile to race conditions until #33665 lands. Another follow up needed is the ability to skip the debug channel on the receiving side. Right now it'll block forever if you don't provide one since we're blocking on the debug data.
react-server-dom-esm
Experimental React Flight bindings for DOM using ESM.
Use it at your own risk.