dillon1000/react
Commit
Browse files [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.
Changed paths1 file
First-parent comparisonpackages/react-devtools-shared/src/backend/profilingHooks.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…