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

Hydration error with create_resource #421

Closed
b4-io opened this issue Jan 31, 2023 · 0 comments
Closed

Hydration error with create_resource #421

b4-io opened this issue Jan 31, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@b4-io
Copy link
Contributor

b4-io commented Jan 31, 2023

Hydration missmatch when SSR with cargo leptos, doesn't find the marks in the HTML and then double renders the resource.

In the linked repository there are 2 examples, one simple that fails to hydrate and one where the effects of said failed hydration show. If the app is rendered from the one route the other one (which has a suspense component too) works correctly. This indicates to me that maybe the fix is in the SSR part.

image

Reproduction repo

@gbj gbj added the bug Something isn't working label Jan 31, 2023
gbj added a commit that referenced this issue Feb 1, 2023
Make all fragment rendering lazy (closes #299 and #421)
@gbj gbj closed this as completed Feb 1, 2023
gbj added a commit that referenced this issue Mar 21, 2023
Make all fragment rendering lazy (closes #299 and #421)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants