solid-start
solid-start copied to clipboard
[Bug?]:Error: Hydration Mismatch. Unable to find DOM nodes for hydration key: 0-0-0-0-0-0-0-0-1-0-0-0-1-0-0-0-0-0-1
Duplicates
- [X] I have searched the existing issues
Latest version
- [X] I have tested the latest version
Current behavior 😯
Whenever i create a route with folders like routes/admin/dash.tsx
this error happens when accessing that page.
Expected behavior 🤔
The page should render as normal.
Steps to reproduce 🕹
Steps:
- Create a route with folder
Context 🔦
No response
Your environment 🌎
No response
Does this happen after restarting the dev server. There is a known bug: https://github.com/solidjs/solid-start/issues/1286
@ryansolid tested also with v1, when adding new route this error happens, but after shutting down vite and restart is working.
Based on my experience, encountering such issues is usually due to:
- Adding/removing routes
- A component that might be a client-only component not being wrapped with the
clientOnly
wrapper, which might require an elimination process to identify it 😭
Generally, restarting the development server resolves the issue. Sometimes, it's also necessary to delete the node_modules/.vinxi
directory.
working only when removing node_modules/.vinxi
package.