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
What is the improvement or update you wish to see?
The docs for useReportWebVitals has a legacy code example that uses reportWebVitals and to anyone who doesn't know that it's legacy, it's confusing because there's no mention of reportWebVitals anywhere on the page.
Is there any context that might help us understand?
It appears that it was simply missed in this update: #58196
Does the docs page already exist? Please link to it.
Closesvercel#62653
Finishes the job started by vercel#58196 and updates the last remaining code example that uses `reportWebVitals` to use `useReportWebVitals`
Closes#62653
Finishes the job started by #58196
and updates the last remaining code example that uses `reportWebVitals`
to use `useReportWebVitals`
Co-authored-by: Sam Ko <sam@vercel.com>
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
What is the improvement or update you wish to see?
The docs for
useReportWebVitals
has a legacy code example that usesreportWebVitals
and to anyone who doesn't know that it's legacy, it's confusing because there's no mention ofreportWebVitals
anywhere on the page.Is there any context that might help us understand?
It appears that it was simply missed in this update: #58196
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/pages/api-reference/functions/use-report-web-vitals#custom-metrics
The text was updated successfully, but these errors were encountered: