Skip to content

Commit b244b4f

Browse files
authored
Merge pull request #49 from aniknafs/patch-1
fixed a propname in perf measures interface
2 parents dd0e29d + ee51909 commit b244b4f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,7 @@ function callback(measures) {
150150
registerObserver({}, callback)
151151
```
152152

153-
After you've registered the observer, start your local development server and go to `http://localhost:3000/?react_perf`.
154-
155-
The query parameter `react_perf` is required so that React can measure the performance timings.
153+
After you've registered the observer, start your local development server and go to `http://localhost:3000/`.
156154

157155
> Note - This extension works only for React 16 or above versions of it.
158156
@@ -239,7 +237,7 @@ Below is the schema of the performance measures that are logged to the console.
239237

240238
```js
241239
{
242-
component, // Name of the component
240+
componentName,
243241
mount: { // Mount time
244242
averageTimeSpentMs,
245243
numberOfTimes,

0 commit comments

Comments
 (0)