Skip to content

Conversation

@ealmloff
Copy link
Member

We currently create the hydration entry for the initial route in fullstack inside of the current_route method of the router. That method isn't always called in the same component on the server and client which can cause hydration issues. This PR moves the hydration entry to the root scope

Fixes #4548

@ealmloff ealmloff added bug Something isn't working fullstack related to the fullstack crate labels Aug 15, 2025
@ealmloff ealmloff marked this pull request as ready for review August 18, 2025 14:00
@ealmloff ealmloff requested a review from a team as a code owner August 18, 2025 14:00
@ealmloff ealmloff marked this pull request as draft August 18, 2025 14:45
@ealmloff ealmloff marked this pull request as ready for review August 18, 2025 14:53
@ealmloff ealmloff added this to the 0.7.0 milestone Aug 18, 2025
@jkelleyrtp jkelleyrtp merged commit 021565c into DioxusLabs:main Aug 19, 2025
23 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hydration error when layout contains el that wraps both Outlet::<Route> and Link components

2 participants