From b19dd9caa6c9d4424cad199db922498897dcf80b Mon Sep 17 00:00:00 2001 From: acdlite Date: Wed, 26 Apr 2023 09:55:48 -0700 Subject: [PATCH] Add stub for experimental_useFormStatus (#26719) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- packages/react-native/Libraries/Renderer/REVISION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/Renderer/REVISION b/packages/react-native/Libraries/Renderer/REVISION index 392b3d45c34..2214b15c4df 100644 --- a/packages/react-native/Libraries/Renderer/REVISION +++ b/packages/react-native/Libraries/Renderer/REVISION @@ -1 +1 @@ -9ece58ebaa46f8b5e90a6ad71be4919e1dc9c563 +919620b2935ca6bb8dfc96204a7cf8754c006240