-
Notifications
You must be signed in to change notification settings - Fork 118
[Fix] Loading animation #943
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] Loading animation #943
Conversation
@rahulrr-coder is attempting to deploy a commit to the recode Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs. In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊 Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv. We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰 🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨ 📚Your perks for contribution to this community 👇🏻
If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 |
🏷️ Labels automatically synced from linked issue(s): |
Synced data from Linked IssuesLabels:
Assignees:
Milestones:
|
🏷️ Labels automatically synced from linked issue(s): |
🏷️ Labels automatically synced from linked issue(s): |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Description
Fixed the hourglass pre-loader that appeared for extended periods (5-20+ seconds) during page load and reload on the main homepage. Implemented progressive loading to show placeholder data immediately while fetching real-time GitHub stats in the background, providing a seamless and instant loading experience for users.
Fixes #942
Type of Change
Changes Made
Modified [statsProvider.tsx] to implement progressive loading: set initial loading state to false, use realistic placeholder values matching production data, and fetch fresh GitHub stats in the background without blocking UI.
Updated [index.tsx] to remove the hourglass (⏳) display, ensuring stats always show immediately with SlotCounter animation.
Dependencies
No new dependencies added. The changes use existing libraries (React, SlotCounter) and do not require any version updates or configurations.
Checklist
npm run build
and attached screenshot(s) in this PR.