react/packages/react-debug-tools
Ruslan Lesiutin 5b51a2b9e2
fix[DevTools]: support useResourceEffect (#32088)
Since we've started experimenting with it, I've started seeing a spike
in errors:
```
Unsupported hook in the react-debug-tools package: Missing method in Dispatcher: useResourceEffect
```

Adding missing hook to the `Dispatcher` that is proxied by React
DevTools.

I can't really add an example that will use it to our RDT testing shell,
because it uses experimental builds of `react`, which don't have this
hook. I've tested it manually by rebuilding artifacts with
`enableUseResourceEffectHook` flag enabled.

![Screenshot 2025-01-16 at 15 20
00](https://github.com/user-attachments/assets/a0d63fd6-1f17-4710-a2b2-82d484b8987f)
2025-01-16 15:42:53 +00:00
..
npm Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
src fix[DevTools]: support useResourceEffect (#32088) 2025-01-16 15:42:53 +00:00
index.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
package.json feat[devtools]: symbolicate source for inspected element (#28471) 2024-03-05 12:32:11 +00:00
README.md Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08: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.