mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
95c2b49543
Original commit: Fixed incompatibility between react-debug-tools and useContext() (#14940) * Refactor hook ordering check to use DEV-only data structure. This enables us to warn about more cases (e.g. useContext, useDebugValue) withou the need to add any overhead to production bundles.