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
Wait for 1 second and notice a hydration mismatch error
If you set the variable perform_hydration_error to false then you shall see the hydration error disappear
This is because setting perform_hydration_error to false prevents the matching route in index.tsx from suspending
Context 🔦
I am a maintainer of TanStack Solid Query. I found this error because I wanted to create the hackernews demo using SolidStart and SolidQuery. Adding the SolidQueryDevtools that are only supposed to run on the client was breaking the app. Any ideas here would be greatly appreciated 🙏
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered:
Ok I see it. Another variation of the top-level fragment bug. This is similar problem to portals. Wrapping your component in a <div> is a workaround but I will see what I can do here.
Duplicates
Latest version
Current behavior 😯
If a client only component is added in
app.tsx
and when the matching route suspends then a hydration mismatch error is caused.Expected behavior 🤔
There should be no hydration mismatch error when including a client only component anywhere in the app
Steps to reproduce 🕹
Steps:
perform_hydration_error
to false then you shall see the hydration error disappearperform_hydration_error
to false prevents the matching route in index.tsx from suspendingContext 🔦
I am a maintainer of TanStack Solid Query. I found this error because I wanted to create the hackernews demo using SolidStart and SolidQuery. Adding the SolidQueryDevtools that are only supposed to run on the client was breaking the app. Any ideas here would be greatly appreciated 🙏
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: