0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/solid-router/src
Manuel Schiller 1d5c5f7776
fix: tell router that rendering finished when rendering to string (#5174)
fixes #5155

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved server-side rendering stability by correctly finalizing the
initial render before injecting additional HTML, preventing rare hangs
or incomplete pages.
  * Applies to both React and Solid router SSR paths.

* **Performance**
* Slightly reduces SSR latency by signaling render completion earlier in
the pipeline.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
History 2025-09-20 01:34:03 +02:00
..
ssr fix: tell router that rendering finished when rendering to string (#5174) 2025-09-20 01:34:03 +02:00
Asset.tsx fix(router): prevent script tag duplication in SSR and client-side navigation (#5095) 2025-09-18 20:09:15 +02:00
awaited.tsx fix(solid-router): use createResource and Show in Await (#3591) 2025-02-27 14:30:51 +01:00
CatchBoundary.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
ClientOnly.tsx fix: don't run router.load() when hydrating only SSRed matches (#4630) 2025-07-12 01:18:27 +02:00
fileRoute.ts feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
HeadContent.tsx refactor(router-core,react-router,solid-router): avoid copying arrays just to .reverse() them (#4980) 2025-08-17 18:30:59 +02:00
history.ts feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
index.tsx refactor(router-core): simplify defaultParseSearch & defaultStringifySearch (#4985) 2025-08-19 08:42:53 +02:00
lazyRouteComponent.tsx feat: ssr setting per route (#4565) 2025-07-05 14:35:14 +02:00
link.tsx fix(router): respect target attribute on inner component (#5115) 2025-09-18 20:06:37 +02:00
Match.tsx refactor(router-core): skip loader and store update if nothing to await (#4926) 2025-08-15 16:41:41 +02:00
matchContext.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
Matches.tsx fix(solid-router): RouteProvider Wrap and Match InnerWrap support propagating context to their children (#5033) 2025-08-29 21:24:38 +02:00
not-found.tsx fix(router-core): change error type in ErrorComponentProps (#4691) 2025-07-20 07:33:04 +02:00
renderRouteNotFound.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
route.tsx fix(router-plugin): add support for boolean and null literals in code splitter (#4915) 2025-08-13 13:01:57 +12:00
router.ts fix(solid-router): correctly assign createLazyFileRoute on window (#4956) 2025-08-16 19:15:58 +02:00
routerContext.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
RouterProvider.tsx fix(solid-router): RouteProvider Wrap and Match InnerWrap support propagating context to their children (#5033) 2025-08-29 21:24:38 +02:00
SafeFragment.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
ScriptOnce.tsx fix: remove debug log (#4604) 2025-07-11 19:49:35 +02:00
Scripts.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
scroll-restoration.tsx fix: scroll to top with hash history (#4795) 2025-07-27 00:36:40 +02:00
ScrollRestoration.tsx fix: properly handle sessionStorage not being available for scroll restoration (#4186) 2025-05-16 19:03:16 +02:00
Transitioner.tsx fix(solid-router): prevent client effects running on server (#4621) 2025-07-15 22:19:37 +02:00
typePrimitives.ts fix(router-core): move typePrimitives to shared package (#3748) 2025-03-12 13:30:19 +01:00
useBlocker.tsx fix: do not pre-decodeURI before passing to createMemoryHistory (#4893) 2025-08-08 15:36:37 -06:00
useCanGoBack.ts feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
useLoaderData.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useLoaderDeps.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useLocation.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useMatch.tsx fix(router-core): move ThrowConstraint to core utils (#3749) 2025-03-12 13:54:05 +01:00
useNavigate.tsx fix(react-router, solid-router): reduce useNavigate reactivity on path changes (#5037) 2025-08-31 13:48:25 +02:00
useParams.tsx fix(react-router, solid-router) - useParams should only be concerned about the relevant params (#5097) 2025-09-07 11:35:09 +02:00
useRouteContext.ts refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useRouter.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useRouterState.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useSearch.tsx fix(router-core): move ThrowConstraint to core utils (#3749) 2025-03-12 13:54:05 +01:00
utils.ts refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00