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

[Bug?]:Error: Hydration Mismatch. Unable to find DOM nodes for hydration key: 0000000010000<a href="/">Index</a> #1638

Closed
2 tasks done
vincehi opened this issue Sep 27, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@vincehi
Copy link

vincehi commented Sep 27, 2024

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

I've noticed that with the latest version of [email protected] there's a hydration problem on the first load.

Expected behavior 🤔

I'd like a real Changelog for SolidStart

Steps to reproduce 🕹

Steps:

  1. npm create solid
  2. SolidStart: yes, template: with-prisma, Typescript: yes
  3. npm run dev
  4. go to localhost:3000
    Hydration problem on first load.

Context 🔦

No response

Your environment 🌎

System:
    OS: macOS 13.7
    CPU: (4) x64 Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz
    Memory: 77.46 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.0 - ~/.volta/tools/image/node/20.11.0/bin/node
    Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
    npm: 10.2.4 - ~/.volta/tools/image/node/20.11.0/bin/npm
    pnpm: 7.13.4 - /usr/local/bin/pnpm
    bun: 1.1.29 - /usr/local/bin/bun
  npmPackages:
    @prisma/client: ^5.12.1 => 5.20.0 
    @solidjs/router: ^0.14.7 => 0.14.7 
    @solidjs/start: ^1.0.7 => 1.0.7 
    @types/node: ^20.12.7 => 20.16.9 
    prisma: ^5.12.1 => 5.20.0 
    solid-js: ^1.9.1 => 1.9.1 
    vinxi: ^0.4.3 => 0.4.3 
  npmGlobalPackages:
    corepack: 0.23.0
    npm: 10.2.4
@vincehi vincehi added the bug Something isn't working label Sep 27, 2024
@katywings
Copy link
Contributor

Can confirm this. The first ssr after startup seems to come with no hydration ids on the elements.

@vincehi
Copy link
Author

vincehi commented Sep 27, 2024

Can confirm this. The first ssr after startup seems to come with no hydration ids on the elements.

Use [email protected] while you wait

@katywings
Copy link
Contributor

Okay the problem was introduced with #1635 - undoing it fixes the problem.

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