We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f131923 commit 9662322Copy full SHA for 9662322
README.md
@@ -297,6 +297,28 @@ Below is the schema of the performance measures that are logged to the console.
297
}
298
```
299
300
+**components**
301
+
302
+You can also inspect the performance of specific components using options through **`components`** property.
303
304
+<img src="http://g.recordit.co/sAQGSOrCA7.gif">
305
306
+Example -
307
308
+```js
309
+var options = {
310
+ shouldLog: true,
311
+ port: 3000,
312
+ components: ['App', 'Main'] // Assuming you've these components in your project
313
+}
314
315
+function callback(measures) {
316
+ // do something with measures
317
318
319
+registerObserver(options, callback)
320
+```
321
322
## Description
323
324
<p align="center">
0 commit comments