dillon1000/react
Commit
Browse files [DevTools] Add support for useMemoCache (#26696)
useMemoCache wasn't previously supported in the DevTools, so any attempt to inspect a component using the hook would result in a `dispatcher.useMemoCache is not a function (it is undefined)` error.
Changed paths3 files
First-parent comparisonpackages/react-debug-tools/src/ReactDebugHooks.js ModifiedM packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js ModifiedM packages/shared/forks/ReactFeatureFlags.test-renderer.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…