Files
react/packages/react-debug-tools
Ruslan LesiutinandGitHub 15794a4907 [DevTools] Extract getDispatcherRef and fork inspectHooks() to avoid pulling React into the build artifact (#36681)
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
2026-06-15 08:27:11 +01:00
..
…

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.