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
41 B
TypeScript
1 line
41 B
TypeScript
export * from './dist/client/web-vitals'
|