Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
react-dom/server-rendering-stub
: restore experimental prefix for `u…
…seFormState` and `useFormStatus` (facebook#27470) in facebook#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.
- Loading branch information