-
Notifications
You must be signed in to change notification settings - Fork 161
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
Remove the Suspense boundary for individual items #15
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/vercel/next-rsc-demo/FT3wzMadDiwbM3QeMpyKLJaE4Qkm |
When I tried this locally I got weird hydration errors. Is that specific to me? |
Not specific to you, that's something we are looking into — reverting to a previous Next.js release should fix it (#14). |
📝 Changed routes:
|
Should we also fix up the parent suspense boundary to be more natural than a spinner? For example by giving body min height and then making the fallback empty, or something. |
Good call, min div height with some skeletons inside (that matches the item height) will be better. |
Updated with animating skeletons: https://next-rsc-demo-git-shu-0653.vercel.sh/rsc. Should be good for now I think. |
Can we make it so that the height of the skeleton is the same as the height of the content? Do we not know the number of the rows or the size of each? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shipit
❤️ |
As mentioned in #13 (comment), we think removing the spinners for individual items will reduce layout shift and improve the overall experience of this app.