dillon1000/react

Commit

[devtools] fix: check if profiling for all profiling hooks (#33701)

Follow-up to https://github.com/facebook/react/pull/33652.

Don't know how the other were missed. Double-checked that Profiler works
in dev mode.

Now all hooks start with `!isProfiling` check and return, if true.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-devtools-shared/src/backend/profilingHooks.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…