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 warning on console for svelte 5 #95

Open
shamscorner opened this issue Sep 4, 2024 · 0 comments
Open

Hydration warning on console for svelte 5 #95

shamscorner opened this issue Sep 4, 2024 · 0 comments

Comments

@shamscorner
Copy link

shamscorner commented Sep 4, 2024

Describe the bug

Getting hydration issue for svelte 5 project. I just upgraded to svelte 5 on sveltekit project.

Reproduction

Upgrade the svelte version to 5 and having this issue.

Logs

svelte] hydration_html_changedThe value of an {@html ...} block in node_modules/​.pnpm/​[email protected][email protected]/​node_modules/​mode-watcher/​dist/​mode-watcher.svelte changed between server and client renders. The client value will be ignored in favour of the server value

System Info

System:
    OS: macOS 14.6.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 85.53 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
    npm: 10.5.2 - ~/.nvm/versions/node/v20.11.0/bin/npm
    pnpm: 9.9.0 - ~/Library/pnpm/pnpm
    bun: 1.0.0 - ~/.bun/bin/bun
  Browsers:
    Brave Browser: 126.1.67.134
    Chrome: 128.0.6613.119
    Safari: 17.6
  npmPackages:
    @sveltejs/kit: ^2.5.24 => 2.5.24 
    mode-watcher: ^0.4.1 => 0.4.1 
    svelte: ^5.0.0-next.233 => 5.0.0-next.233

Severity

annoyance

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

No branches or pull requests

1 participant