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 issue where setState is called before hydration completes #1912

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

gmferise
Copy link

Fixes the following exception:

This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.

@gmferise
Copy link
Author

Related: #1428

@gmferise
Copy link
Author

Requesting review from a maintainer.

@luwes seems to be most active?

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