dillon1000/react
Commit
Browse files [Old server renderer] Retry error on client (#22399)
We're still in the process of migrating to the Fizz server renderer. In the meantime, this makes the error semantics on the old server renderer match the behavior of the new one: if an error is thrown, it triggers a Suspense fallback, just as if it suspended (this part was already implemented). Then the errored tree is retried on the client, where it may recover and finish successfully.
Changed paths3 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js ModifiedM packages/react-dom/src/__tests__/ReactDOMServerSuspense-test.internal.js ModifiedM packages/react-dom/src/server/ReactPartialRenderer.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…