-
Notifications
You must be signed in to change notification settings - Fork 4k
Fix ScrollSectionsList with suspended component #3390
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
Conversation
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Enhance the ScrollSectionsList component to work correctly with suspended components by integrating a loading state context.
Before this PR and in SSR, suspended elements could be improperly observed.
It also removes
<Suspense />
inBlock
which can decrease the size of the RSC by up to 2Mb in some worst case scenario. (This doesn't have a big impact on user now since most page are ISR/SSG and thus Suspense won't work in these cases)