mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43714 Migrate React builtin hooks to use the new React "hook" type. This diff converts all builtin hooks except for `useContext` which will be updated after the next flow release. Details: - Announcement: https://fb.workplace.com/groups/react.fyi/posts/7642294409114198 - Docs: https://www.internalfb.com/intern/wiki/Component_Syntax_Documentation/Hook_syntax_0/ - Support group: https://fb.workplace.com/groups/749069370011855 Changelog: [internal] Reviewed By: SamChou19815 Differential Revision: D55500989 fbshipit-source-id: 8a13898b1d2e851dfc2afed3b41e0f1a6332b6bd