mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-27 03:08:06 +00:00
Note how to access Perf in docs
This commit is contained in:
@@ -16,6 +16,8 @@ In addition to giving you an overview of your app's overall performance, ReactPe
|
||||
|
||||
## General API
|
||||
|
||||
The `Perf` object documented here is exposed as `React.addons.Perf` when using the `react-with-addons.js` build in development mode.
|
||||
|
||||
### `Perf.start()` and `Perf.stop()`
|
||||
Start/stop the measurement. The React operations in-between are recorded for analyses below. Operations that took an insignificant amount of time are ignored.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user