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

solid-query Hydration Mismatch on SSR from version 5.24.2+ #7106

Closed
talensjr opened this issue Mar 13, 2024 · 1 comment
Closed

solid-query Hydration Mismatch on SSR from version 5.24.2+ #7106

talensjr opened this issue Mar 13, 2024 · 1 comment

Comments

@talensjr
Copy link

Describe the bug

When SSR from solid-start with deferStream: true.

It works fine on version 5.24.1 but breaks in version 5.24.2 and upwards.

Your minimal, reproducible example

https://stackblitz.com/edit/tanstack-query-ym4oec?file=app.config.ts

Steps to reproduce

  • official solid-start example
  • I have just changed vite.config.ts => app.config.ts that is required for newest vinxi versions.
  • Go to deferred menu link.
  • Page should load correctly first time.
  • Then click on reload (on the embedded browser).
  • Hydration mismatch will appear.

Expected behavior

No hydration mismatch error, as in version 5.24.1 or below.

How often does this bug happen?

Every time

Screenshots or Videos

Kapture.2024-03-13.at.22.47.19.mp4

Platform

  • OS: macOS
  • Browser: Chrome, Safari, Firefox

Tanstack Query adapter

solid-query

TanStack Query version

5.24.2

TypeScript version

No response

Additional context

No response

@talensjr
Copy link
Author

I've been testing it with a solid-start app that I am building and I am pretty sure this is fixed by 5.28.5 version release.

Thank you so much to all tanstack query team and @ardeora as a solid-query mantainer! I will close this for now.

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