mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
Usage of the new `use` hook needs to conform to the rules of hooks, with
the one exception that it can be called conditionally.
ghstack-source-id: 7ea5beceaf
Pull Request resolved: https://github.com/facebook/react/pull/25370