0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-18 19:34:24 +00:00
router/packages/solid-router/src
Manuel Schiller 7593e793a1 perf(route-modules): no Link or useNavigate cost without route modules
`Link` and `useNavigate` added the nearest route to every navigation,
read the match context and listed the route-module options, although
only the route-module translation reads them. They now do so only when
route-module code installed that translation, which it does before an
application renders, and the framework links learn the internal scope
options (`_module`, `_fromRoute`) from route-module code. Without route
modules the branches fold away, as do the not-found boundary's module
resolution and `buildLocation`'s options alias.

With Vite, react-router.minimal, react-start.minimal and the minimal
Solid scenarios now match main byte for byte. Rsbuild does not fold the
never-assigned hooks and keeps the module branches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-02 08:27:21 +01:00
..
ssr optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
Asset.tsx fix(solid): avoid repeated hydration scans and script execution (#8270) 2026-09-09 19:02:21 -07:00
awaited.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
CatchBoundary.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
ClientOnly.tsx fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
fileRoute.ts feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
HeadContent.dev.tsx feat(start): support rsbuild iife client output (#7477) 2026-05-24 02:02:05 +02:00
HeadContent.tsx feat: transformAssets (#7009) 2026-03-22 20:25:12 +01:00
headContentUtils.tsx fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
history.ts feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
index.dev.tsx fix: cleanly separate dev styles from prod runtime (#6356) 2026-01-11 03:28:20 +01:00
index.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
lazyRouteComponent.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
link.tsx perf(route-modules): no Link or useNavigate cost without route modules 2026-11-02 08:27:21 +01:00
Match.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
matchContext.tsx perf: compact private bundle boundaries (#7975) 2026-08-06 13:40:09 +02:00
Matches.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
nonRouteComponentContext.tsx fix(router): warn when Outlet is rendered in fallback components (#8045) 2026-08-12 09:53:15 +02:00
not-found.tsx refactor: switch router stores to atom get/set API (#7150) 2026-04-11 12:41:57 +02:00
renderRouteNotFound.tsx fix(router): warn when Outlet is rendered in fallback components (#8045) 2026-08-12 09:53:15 +02:00
route-module-internal.ts feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
route.tsx perf(route-modules): no Link or useNavigate cost without route modules 2026-11-02 08:27:21 +01:00
routeModule.tsx perf(route-modules): no Link or useNavigate cost without route modules 2026-11-02 08:27:21 +01:00
router.ts feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
routerContext.tsx fix: remove router context caching (#6734) 2026-02-22 23:48:33 +01:00
RouterProvider.tsx perf(router-core): streamline route initialization (#8327) 2026-09-13 13:55:04 +02:00
routerStores.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +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: re-export correctly (#6489) 2026-01-24 17:55:28 +01:00
Scripts.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
scroll-restoration.tsx fix: scroll restorating without throttling (#7042) 2026-03-26 18:00:55 +01:00
ScrollRestoration.tsx fix: scroll restorating without throttling (#7042) 2026-03-26 18:00:55 +01:00
Transitioner.tsx fix(router-core): preserve pending UI across retained routes (#8084) 2026-08-18 14:09:36 +02:00
typePrimitives.ts fix(router-core): move typePrimitives to shared package (#3748) 2025-03-12 13:30:19 +01:00
useBlocker.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
useCanGoBack.ts refactor: switch router stores to atom get/set API (#7150) 2026-04-11 12:41:57 +02:00
useLoaderData.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
useLoaderDeps.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
useLocation.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
useMatch.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
useNavigate.tsx perf(route-modules): no Link or useNavigate cost without route modules 2026-11-02 08:27:21 +01:00
useParams.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
useRouteContext.ts feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
useRouter.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
useRouterState.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
useSearch.tsx feat: experimental route modules for file-based routing 2026-11-02 00:02:35 +01:00
utils.ts perf(router): skip Link work for routes a navigation leaves (#8602) 2026-10-05 21:27:33 +02:00