dillon1000/react

Commit

`react-dom/server-rendering-stub`: restore experimental prefix for `useFormState` and `useFormStatus` (#27470)

in #27461 the experimental prefix was added back for `useFormState` and
`useFormStatus` in react-dom. However these functions are also exported
from the server rendering stub too and when using the stub with
experimental prefixes their absence causes unexpected errors.

This change adds back the experimental prefix for these two hooks to
match the experimental build of react-dom.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom/server-rendering-stub.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…