dillon1000/react
Commit
Browse files Performance Tracks: log properties diff for renders in DEV if no console task available (#34370)
React Native doesn't support `console.createTask` yet, but it does support `performance.measure` and extensibility APIs for Performance panel, including `detail.devtools` field. Previously, this logic was gated with `if (__DEV__ && debugTask)`, now `debugTask` is no longer required to log render. If there is no console task, we will just call `performance.measure(...)`. The same pattern is used in other reporters.
Changed paths1 file
First-parent comparisonpackages/react-reconciler/src/ReactFiberPerformanceTrack.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…