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.
react-debug-tools
This is an experimental package for debugging React renderers.
Its API is not as stable as that of React, React Native, or React DOM, and does not follow the common versioning scheme.
Use it at your own risk.