dillon1000/react
Commit
Browse files `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.
Changed paths1 file
First-parent comparisonpackages/react-dom/server-rendering-stub.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…