dillon1000/react
Commit
Browse files experimental_use(promise) for SSR (#25214)
Follow up to #25084 and #25207. Implements experimental_use(promise) API in the SSR runtime (Fizz). This is largely a copy-paste of the Flight implementation. I have intentionally tried to keep both as close as possible.
Changed paths6 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactDOMFizzServer-test.js ModifiedM packages/react-server/src/ReactFizzHooks.js ModifiedM packages/react-server/src/ReactFizzServer.js ModifiedA packages/react-server/src/ReactFizzWakeable.js AddedM packages/react-server/src/ReactFlightHooks.js ModifiedM packages/react-server/src/ReactFlightWakeable.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…