web-vitals icon indicating copy to clipboard operation
web-vitals copied to clipboard

Consider creating a DEBUG version of the library

Open philipwalton opened this issue 3 years ago • 1 comments

A number of users have requested additional logging to warn users of common issues that may arise (e.g. #138).

I hesitate to increase the size of the production library with logging that most likely will be ignored, but perhaps we could create a debug version of the library users can run in development to help them debug issues.

What do folks think? Would this be useful?

philipwalton avatar May 28 '21 20:05 philipwalton

@philipwalton I think a prominent notice in the documentation should be sufficient. People who want to get matching numbers also need to figure out how to calculate 75th percentile values, which the library can't provide for just as it's limited in the other areas out of its control.

shimonenator avatar May 28 '21 22:05 shimonenator