mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
The outer _displayPending branch made the hydrating client render the pending fallback at a different structural depth than the server (which renders it through ClientOnly's fallback), so Solid's dev runtime threw 'Hydration Mismatch' and cascaded into 'template is not a function' via the root CatchBoundary — dev-mode-only because prod silently falls back to client rendering. This regressed data-only+pendingComponent routes vs main and was also the mechanism behind the pre-existing #7283 (ssr:false+pendingComponent, broken on main too). _displayPending now renders inside MatchInner, which only mounts after ClientOnly hydrates — outside the hydration key sequence — fixing both cases. Adds a dev-server e2e spec covering both. Fixes #7283 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .. | ||
| basic | ||
| basic-auth | ||
| basic-cloudflare | ||
| basic-solid-query | ||
| basic-tsr-config | ||
| csp | ||
| css-modules | ||
| custom-basepath | ||
| deferred-hydration | ||
| query-integration | ||
| scroll-restoration | ||
| selective-ssr | ||
| serialization-adapters | ||
| server-functions | ||
| server-routes | ||
| solid-query-layout-suspense | ||
| spa-mode | ||
| start-manifest | ||
| virtual-routes | ||
| website | ||