Skip to content

Conversation

@ealmloff
Copy link
Member

@ealmloff ealmloff commented Sep 3, 2025

Hydration requires the final version the server renders is the same as the first version the client renders. That causes issues with the error boundary because it passes up state. If the server renderers an error because of the result of some data that is serialized in the hydration context (like a server future), then stops rendering that component then the data is removed. Then the client will fail to hydrate that data since it no longer exists and never see the error

image

Fixes #4635

@ealmloff ealmloff added bug Something isn't working fullstack related to the fullstack crate labels Sep 3, 2025
@ealmloff ealmloff force-pushed the fix-hydration-error-suspense branch from 3566ece to 8256063 Compare September 3, 2025 20:13
@ealmloff ealmloff marked this pull request as ready for review September 3, 2025 20:52
@ealmloff ealmloff requested a review from a team as a code owner September 3, 2025 20:52
@jkelleyrtp jkelleyrtp merged commit d65f9a5 into DioxusLabs:main Oct 3, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fullstack related to the fullstack crate

2 participants