dillon1000/react

Commit

[Flight] Add support for Webpack Async Modules (#25138)

This lets you await the result of require(...) which will then
mark the result as async which will then let the client unwrap the Promise
before handing it over in the same way.
Browse files
Changed paths5 files
First-parent comparison
M packages/react-server-dom-webpack/src/ReactFlightClientWebpackBundlerConfig.js ModifiedM packages/react-server-dom-webpack/src/ReactFlightServerWebpackBundlerConfig.js ModifiedM packages/react-server-dom-webpack/src/ReactFlightWebpackNodeRegister.js ModifiedM packages/react-server-dom-webpack/src/__tests__/ReactFlightDOM-test.js ModifiedM packages/react-server-dom-webpack/src/__tests__/utils/WebpackMock.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…