feat(dashboard): implement granular Suspense boundaries for immediate…#5949
Conversation
|
@realtushartyagi is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
📦 Next.js Bundle Size Report (Gzipped Sizes)✨ No significant bundle size changes detected. 📊 Summary of Totals
|
Aamod007
left a comment
There was a problem hiding this comment.
Difficulty: intermediate – Splits page.tsx into DashboardContent async component with Suspense wrapper, updates 5 test cases to unwrap Suspense tree structure.
Quality: clean – Proper React 18 pattern, maintains functionality.
Type: performance – Enables granular streaming for faster initial page load.
Great perf improvement!
|
🎉 Congratulations @realtushartyagi! Your PR has been successfully merged. 🚀 Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.
Keep building! 💻✨ |
Description
Wrap the heavy server-component data fetchers with a React
<Suspense>boundary so that the application shell renders instantly and specific dashboard widgets show skeleton loaders until their respective promises resolve.Fixes #5868
Pillar
Checklist before requesting a review:
CONTRIBUTING.mdfile.localhost:3000/api/streak?user=YOUR_USERNAME).npm run formatandnpm run lintlocally and resolved all errors (CI will fail otherwise).feat(themes): ...,fix(calculate): ...).README.mdif I added a new theme or URL parameter.