Skip to content
Discussion options

You must be logged in to vote

if anyone stumbles across this question in 2026: these days sveltekit has hydratable(), which may solve this kind of problem:

whatever value is generated/returned in SSR will carry over into hydration, ensuring a hydration match and avoiding said unpleasent change as JS kicks in

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hyunbinseo
Comment options

@rbozan
Comment options

@echocrow
Comment options

Answer selected by FeldrinH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants