mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
87fce6e2f0433d8eec57e2bdc0caa46a8b637ba1
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.
DiffTrain build for [2805f0ed9e](https://github.com/facebook/react/commit/2805f0ed9e702454527839c0076a9979553c2fd7)
react-fbsource-import
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%