mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add stub for experimental_useFormStatus (#26719)
Summary: This wires up, but does not yet implement, an experimental hook called useFormStatus. The hook is imported from React DOM, not React, because it represents DOM-specific state — its return type includes FormData as one of its fields. Other renderers that implement similar methods would use their own renderer-specific types. The API is prefixed and only available in the experimental channel. It can only be used from client (browser, SSR) components, not Server Components. DiffTrain build for commit https://github.com/facebook/react/commit/919620b2935ca6bb8dfc96204a7cf8754c006240. Changelog: [Internal] Reviewed By: poteto Differential Revision: D45255513 Pulled By: kassens fbshipit-source-id: 9ba527201889fb25f130eaef385bbb9efa0b92c4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6463ca3544
commit
b19dd9caa6
@@ -1 +1 @@
|
||||
9ece58ebaa46f8b5e90a6ad71be4919e1dc9c563
|
||||
919620b2935ca6bb8dfc96204a7cf8754c006240
|
||||
|
||||
Reference in New Issue
Block a user