dillon1000/react
Commit
Browse files FB-specific builds of Flight Server, Flight Client, and React Shared Subset (#27579)
This PR adds a new FB-specific configuration of Flight. We also need to bundle a version of ReactSharedSubset that will be used for running Flight on the server. This initial implementation does not support server actions yet. The FB-Flight still uses the text protocol on the server (the flag `enableBinaryFlight` is set to false). It looks like we need some changes in Hermes to properly support this binary format.
Changed paths18 files
First-parent comparison.eslintrc.js ModifiedA packages/react-client/src/forks/ReactFlightClientConfig.dom-fb-experimental.js AddedM packages/react-dom-bindings/src/shared/ReactFlightClientConfigDOM.js ModifiedA packages/react-server-dom-fb/src/ReactFlightClientConfigFBBundler.js AddedA packages/react-server-dom-fb/src/ReactFlightDOMClientFB.js AddedA packages/react-server-dom-fb/src/ReactFlightDOMServerFB.js AddedA packages/react-server-dom-fb/src/ReactFlightReferencesFB.js AddedA packages/react-server-dom-fb/src/ReactFlightServerConfigFBBundler.js AddedA packages/react-server-dom-fb/src/__tests__/ReactFlightDOMServerFB-test.internal.js AddedM packages/react-server/src/ReactServerStreamConfigFB.js ModifiedA packages/react-server/src/forks/ReactFlightServerConfig.dom-fb-experimental.js AddedA packages/react-server/src/forks/ReactServerStreamConfig.dom-fb-experimental.js AddedM packages/react-server/src/forks/ReactServerStreamConfig.dom-fb.js ModifiedA packages/react/src/ReactSharedSubsetFB.js AddedM packages/shared/forks/ReactFeatureFlags.www.js ModifiedM scripts/rollup/bundles.js ModifiedM scripts/rollup/forks.js ModifiedM scripts/shared/inlinedHostConfigs.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…