You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned by #1174 (comment), I'm opening a new issue here, since the previous one was crowded.
Another point of note, I don't know if this is an issue related to Tanstack query, or with Solid Start, but since the error shows hydration issues, specifically with the use of <Switch><Match></Match></Switch>, I thought I would put it here.
Let me know if this needs to go Tanstack instead.
Your environment 🌎
OS: MacOS Sonoma
solid-start: 1.0.10
The text was updated successfully, but these errors were encountered:
YosefBayoude
changed the title
[Bug?]: Hydration mismatch
[Bug?]: Hydration mismatch when using <Switch> <Match>
Nov 9, 2024
YosefBayoude
changed the title
[Bug?]: Hydration mismatch when using <Switch> <Match>
[Bug?]: Hydration mismatch when using <Switch> <Match> tags
Nov 9, 2024
Duplicates
Latest version
Current behavior 😯
Getting hydration mismatch errors
Expected behavior 🤔
The component should render
Steps to reproduce 🕹
Steps:
<Switch>
<Match>
</Match>
</Switch>
Another way I did this, was to take the existing example from Tanstack query, and simply add a
<Switch>
<Match>
</Match>
</Switch>
, can be found in the 'Mixed' page here : https://stackblitz.com/edit/tanstack-query-regvcz?file=src%2Fcomponents%2Fuser-info.tsxThis issue only seems to happen on the first fetch() call.
Context 🔦
As mentioned by #1174 (comment), I'm opening a new issue here, since the previous one was crowded.
Another point of note, I don't know if this is an issue related to Tanstack query, or with Solid Start, but since the error shows hydration issues, specifically with the use of
<Switch>
<Match>
</Match>
</Switch>
, I thought I would put it here.Let me know if this needs to go Tanstack instead.
Your environment 🌎
The text was updated successfully, but these errors were encountered: