dillon1000/react

Commit

[Reconciler] Set ProfileMode for Host Root Fiber by default in dev (#34432)

Requiring DevTools to be present for dev builds seems like an overkill,
let's enable the instrumentation by default.

Nothing changes for profiling or production artifacts.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-reconciler/src/ReactFiber.js ModifiedM packages/react/src/__tests__/ReactProfiler-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…