dillon1000/react
Commit
Browse files Don't inject timeline hooks unless React supports profiling (#23151)
This gives DevTools a way to detect whether the current React renderer supports Timeline profiling. (Version alone isn't enough to detect this, neither is general profiling support– since these two are controlled by different feature flags.)
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberDevToolsHook.new.js ModifiedM packages/react-reconciler/src/ReactFiberDevToolsHook.old.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…