Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve npm download count animation #329

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

erquhart
Copy link
Contributor

@erquhart erquhart commented Dec 31, 2024

NumberFlow can't continuously scroll across number intervals higher than 40 or so, from their docs. In experimenting I found it a good bit lower. Depending on the day (as forecast rate changes daily), the counter will scroll somewhat bizarrely:

The oss stats component now calculates the time interval to ensure value updates stay below the threshold.

Update: now includes fix for failure on npm package not found.

Copy link

netlify bot commented Dec 31, 2024

Deploy Preview for tanstack failed. Why did it fail? →

Name Link
🔨 Latest commit 322cd8b
🔍 Latest deploy log https://app.netlify.com/sites/tanstack/deploys/677c8bbe19e80900085a368a

@erquhart erquhart force-pushed the improve-download-count-animation branch from 6228002 to 322cd8b Compare January 7, 2025 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant