mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
fea354cb8cbeaa598fd86f49571fa975d0c5ea97
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. DiffTrain build for commit https://github.com/facebook/react/commit/546178f9109424f6a0176ea8702a7620c4417569.
react-dom/server-rendering-stub: restore experimental prefix for useFormState and useFormStatus (#27470)
react-fbsource-import
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%