dillon1000/react

Commit

Add useSyncExternalStore to react-debug-tools (#22240)

Adds support for useSyncExternalStore to react-debug-tools, which in
turn adds support for React Devtools.

Test plan: I added a test to ReactHooksInspectionIntegration, based on
existing one for useMutableSource.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-debug-tools/src/ReactDebugHooks.js ModifiedM packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…