The new tRPC docs use react-animated-numbers for the Github stars:
Problem is it should be 10k stars and not 100k :( so I dug into this and found that the includeComma option is extremely buggy and only seem to work on a select few browsers.
I tested on Safari, Safari on iOS, Firefox and Chrome and got the same result on all. However someone in the community did see the correct star with the comma on both chroma:
We believe this may have to do with i18n where some use comma separation and some don't?
The new tRPC docs use react-animated-numbers for the Github stars:
Problem is it should be 10k stars and not 100k :( so I dug into this and found that the includeComma option is extremely buggy and only seem to work on a select few browsers.
Here is a stackblitz reproduction example: https://stackblitz.com/edit/vitejs-vite-58iqih?file=src/App.tsx
I tested on Safari, Safari on iOS, Firefox and Chrome and got the same result on all. However someone in the community did see the correct star with the comma on both chroma:
We believe this may have to do with i18n where some use comma separation and some don't?