Skip to content

fix: hydration mismatch in Svelte 5#162

Open
Arecsu wants to merge 1 commit intobarvian:mainfrom
Arecsu:main
Open

fix: hydration mismatch in Svelte 5#162
Arecsu wants to merge 1 commit intobarvian:mainfrom
Arecsu:main

Conversation

@Arecsu
Copy link

@Arecsu Arecsu commented Nov 9, 2025

Solves #109

Resolves hydration warnings by rendering consistent HTML on both server and client, and cleaning up DSD templates to prevent accumulation when frameworks re-use the same component, usually in SPA, custom routing or using view transitions.

This should pave the way to fix React and Vue as well, although my knowledge and testing scenarios are not quite there for them.

Resolves hydration warnings by rendering consistent HTML on both
server and client, and cleaning up DSD templates to prevent
accumulation during view transitions.
@vercel
Copy link

vercel bot commented Nov 9, 2025

@Arecsu is attempting to deploy a commit to the Barvian Team on Vercel.

A member of the Team first needs to authorize it.

@Arecsu
Copy link
Author

Arecsu commented Mar 4, 2026

Hey @barvian how's going? Just checking up on this PR. I'm using it in my own fork at number-flow-0.5.8 + number-flow-svelte-0.3.9 and still going strong. If you're interested or need any additional help/suggestions for getting this upstream, let me know. Thank you and great work 🤗

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