We've just published v5.0.0 of the web-vitals JavaScript library for measuring Core Web Vitals. github.com/GoogleChrome... As a major release, this includes a number of breaking changes as detailed in the upgrading doc: github.com/GoogleChrome... Please read carefully before upgrading. 1/5 🧵
Post
github.comGitHub - GoogleChrome/web-vitals: Essential metrics for a healthy site.Essential metrics for a healthy site. Contribute to GoogleChrome/web-vitals development by creating an account on GitHub.
We've added the ability for you to specify your own code for generating custom targets, if you don't like the CSS selectors the library generates by default or have custom attributes that are more meaningful to you. 4/5
0 reposts0 likes
And we've made a number of optimisations and memory improvements so we use even less memory than before as well as a number of other improvements to the library. Please see the CHANGELOG for more details: github.com/GoogleChrome... Let us know if you have any questions, or feedback! 5/5 🏁
github.comgithub.com