dillon1000/react

Commit

Fix useResourceEffect in Fizz (#31758)

We're seeing errors when testing useResourceEffect in SSR and it turns
out we're missing the noop dispatcher function on Fizz.

I tested a local build with this change and it resolved the late
mutation errors in the e2e tests.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMServerIntegrationHooks-test.js ModifiedM packages/react-server/src/ReactFizzHooks.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…