mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
This is just a refactor to unblock the work on the Facade. This PR contains 2 changes: 1. `getDispatcherRef` was extracted from `fiber/renderer` into its own shared module. 2. `inspectHooksOfFiber` was forked. The new version specifies dispatcher as required and doesn't set it to default as `ReactSharedInternals`, which are pulling the whole `react` module as part of them: https://github.com/facebook/react/blob/3f6785f59e8871e232e94276db82b53299a36bb3/packages/shared/ReactSharedInternals.js#L10-L15
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.