You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/tracing/src/browser/web-vitals/README.md
+23-3Lines changed: 23 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,35 @@
2
2
3
3
> A modular library for measuring the [Web Vitals](https://web.dev/vitals/) metrics on real users.
4
4
5
-
This was vendored from: https://github.com/GoogleChrome/web-vitals
5
+
This was vendored from: https://github.com/GoogleChrome/web-vitals: v2.1.0
6
6
7
-
The commit SHA used is: [56c736b7c4e80f295bc8a98017671c95231fa225](https://github.com/GoogleChrome/web-vitals/tree/56c736b7c4e80f295bc8a98017671c95231fa225)
7
+
The commit SHA used is: [3f3338d994f182172d5b97b22a0fcce0c2846908](https://github.com/GoogleChrome/web-vitals/tree/3f3338d994f182172d5b97b22a0fcce0c2846908)
8
8
9
9
Current vendored web vitals are:
10
10
11
11
- LCP (Largest Contentful Paint)
12
12
- FID (First Input Delay)
13
+
- CLS (Cumulative Layout Shift)
13
14
14
-
# License
15
+
## Notable Changes from web-vitals library
16
+
17
+
This vendored web-vitals library is meant to be used in conjunction with the `@sentry/tracing``BrowserTracing` integration.
18
+
As such, logic around `BFCache` and multiple reports were removed from the library as our web-vitals only report once per pageload.
0 commit comments