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 2fa9682 commit 5155a88Copy full SHA for 5155a88
docs/advanced-features/measuring-performance.md
@@ -54,6 +54,7 @@ experience of a web page. The following web vitals are all included:
54
- [Largest Contentful Paint](https://web.dev/lcp/) (LCP)
55
- [First Input Delay](https://web.dev/fid/) (FID)
56
- [Cumulative Layout Shift](https://web.dev/cls/) (CLS)
57
+- [Interaction to Next Paint](https://web.dev/inp/) (INP) _(experimental)_
58
59
You can handle all the results of these metrics using the `web-vital` label:
60
@@ -85,6 +86,9 @@ export function reportWebVitals(metric) {
85
86
case 'TTFB':
87
// handle TTFB results
88
break
89
+ case 'INP':
90
+ // handle INP results (note: INP is still an experimental metric)
91
+ break
92
default:
93
94
}
0 commit comments