b39a03f4e3
### What? introduce a new hook `useReportWebVitals` that would register a function to handle web-vitals metrics. ### Why? next.js users who use [Axiom](https://axiom.co) has been [asking](https://github.com/axiomhq/next-axiom/issues/109) for this feature for nextjs 13, as it was working for nextjs 12.
1 line
53 B
JavaScript
1 line
53 B
JavaScript
module.exports = require('./dist/client/web-vitals')
|