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
{{ message }}
Repository navigation
Commit 0cf3e3a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(solid-router): hydration mismatch for ssr:false routes with pendingComponent
Selective SSR routes render the pending component inside the suspense
boundary on the server and skip the suspense fallback. On the client,
the fallback was only skipped for ssr: 'data-only', so hydrating an
ssr: false route rendered a fallback with no matching server markup,
crashing dev hydration with "template is not a function".
Skip the fallback only while actually hydrating (via solid-js
sharedConfig.context) so client-side navigations and pure CSR keep
showing the pending component while the match suspends.
Fixes#7283
Co-Authored-By: Claude Fable 5 <[email protected]>
Fix hydration mismatch for `ssr: false` routes with a `pendingComponent`. The suspense fallback is now skipped only while hydrating server-rendered markup, so selective SSR routes hydrate cleanly while client-side navigations keep showing their pending component.
0 commit comments