0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/solid-router/tests
Max Katz 18154b1c45
perf: lower manifest script preload priority (#8212)
* perf: lower manifest script preload priority

* fix(start-server-core): forward fetchPriority into static Early Hints

Static script hints were built from getScriptPreloadAttrs but copied only
href, rel, as and crossOrigin, so Chromium started hinted preloads at
MEDIUM before the HTML's fetchPriority="low" arrived. Build them with the
shared addEarlyHintFetchAttrs helper, which the dynamic hint path already
uses, so fetchPriority (and crossOrigin) are carried into 103 hints and the
response Link header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: cover low-priority manifest preloads in Solid and Vue

Add a Solid server-suite SSR test for module and IIFE preloads and assert
fetchpriority="low" on rendered preloads in the Solid and Vue HeadContent
tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: note low-priority JavaScript Early Hints

Mention that JavaScript Early Hints carry fetchpriority=low and extend the
changeset to start-server-core.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Manuel Schiller <6340397+schiller-manuel@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-10-16 15:35:33 +02:00
..
lazy fix(router): handle redirected lazy pending matches (#7137) 2026-04-10 21:17:37 +02:00
server perf: lower manifest script preload priority (#8212) 2026-10-16 15:35:33 +02:00
Await.test.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
blocker.test.tsx chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
CatchBoundary.test.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
ClientOnly.test.tsx tests(solid-router): enable ClientOnly SSR test (#4666) 2025-07-16 19:58:35 +02:00
component-preload-retry.test.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
createLazyRoute.test.tsx fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
disableGlobalCatchBoundary.test.tsx feat(react-router): add disableGlobalCatchBoundary option (#4765) 2025-07-26 22:45:20 +02:00
errorBoundary.test-d.tsx fix(router): handle unknown error boundary values (#8209) 2026-09-05 14:48:44 +02:00
errorComponent.test.tsx fix(router): handle unknown error boundary values (#8209) 2026-09-05 14:48:44 +02:00
fileRoute.test-d.tsx fix: server middleware type in solid-router (#7260) 2026-04-25 19:23:05 +02:00
fileRoute.test.ts Create file routes directly (#7970) 2026-08-06 13:38:43 +02:00
hydration-terminal-lane.test.tsx fix(router-core): preserve pending UI across retained routes (#8084) 2026-08-18 14:09:36 +02:00
index.test.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
issue-4467-lazy-route-pending.test.tsx fix(router-core): preserve pending UI across retained routes (#8084) 2026-08-18 14:09:36 +02:00
issue-7367-pending-min-redirect.test.tsx fix(router-core): preserve pending UI across retained routes (#8084) 2026-08-18 14:09:36 +02:00
issue-7964-param-parsing-loader.test.tsx fix(router): preserve raw params for match identity (#7966) 2026-08-05 21:41:42 +02:00
issue-7986-retained-pending.test.tsx fix(router-core): preserve pending UI across retained routes (#8084) 2026-08-18 14:09:36 +02:00
issue-8115-context.test.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
jest-dom.setup.ts chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
lazyRouteComponent.production.test.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
link-departing-scope.test.tsx perf(router): skip Link work for routes a navigation leaves (#8602) 2026-10-05 21:27:33 +02:00
link-destination.test.tsx perf(router): skip Link work for routes a navigation leaves (#8602) 2026-10-05 21:27:33 +02:00
link-element-props.test.tsx perf(solid-router): let mergeProps memoize the Link's own props (#8619) 2026-10-06 10:36:08 +02:00
link-href-cases.ts fix: harden URL handling across Router and Start (#8308) 2026-09-09 23:03:49 +02:00
link-href-safety.test.tsx test: cover existing navigation and redirect behavior (#8286) 2026-09-07 21:35:15 +02:00
link-path-cases.ts test: cover existing navigation and redirect behavior (#8286) 2026-09-07 21:35:15 +02:00
link-path-matching.test.tsx test: cover existing navigation and redirect behavior (#8286) 2026-09-07 21:35:15 +02:00
link-style.test.tsx perf(router): optimize Link state props across frameworks (#8318) 2026-09-13 13:55:01 +02:00
link.bench.tsx chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
link.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
link.test.tsx perf(router): skip Link work for routes a navigation leaves (#8602) 2026-10-05 21:27:33 +02:00
loaders.test.tsx fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
Matches.test-d.tsx fix: MatchRoute types (#7139) 2026-04-10 21:35:42 +02:00
Matches.test.tsx test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
navigate.test.tsx fix(router-core): null prototype input/output objects (#6882) 2026-03-10 20:22:35 +01:00
not-found.test.tsx fix: preserve render-thrown notFound errors (#7077) 2026-03-31 01:09:27 +02:00
optional-path-params.test-d.tsx test(solid-router): sync unit tests from react-router (#5614) 2025-10-25 19:21:19 +02:00
optional-path-params.test.tsx refactor(router-core): interpolatePath skips optional segments w/ nullish param value (#5934) 2025-11-21 23:55:16 +01:00
Outlet.test.tsx fix(router): warn when Outlet is rendered in fallback components (#8045) 2026-08-12 09:53:15 +02:00
pending-fallback-promise-replacement.test.tsx fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
public-presentation-lane-contract.test.tsx fix(router-core): preserve pending UI across retained routes (#8084) 2026-08-18 14:09:36 +02:00
redirect.test.tsx fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
redirects.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
remountDeps.test.tsx Fix default route component remounting (#8002) 2026-08-12 14:53:17 +02:00
renderRouterToStream.test.tsx optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
route.test-d.tsx feat: pass routeId into context/beforeLoad (#6579) 2026-02-03 00:59:12 +01:00
route.test.tsx fix(solid-router): make useLoaderDeps return Accessor for reactivity (#5348) 2025-10-07 01:42:53 +02:00
routeApi.test-d.tsx fix: preserve shouldThrow in route-scoped hooks (#8169) 2026-08-27 23:54:34 +02:00
routeContext.test.tsx test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
router-client-stream-cleanup.test.tsx fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
router.test-d.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
router.test.tsx test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
RouterProvider.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
RouterProvider.test.tsx fix(solid-router): RouteProvider Wrap and Match InnerWrap support propagating context to their children (#5033) 2025-08-29 21:24:38 +02:00
routeScopedShouldThrow.test.tsx fix: preserve shouldThrow in route-scoped hooks (#8169) 2026-08-27 23:54:34 +02:00
same-route-pending-blank.test.tsx test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
Scripts.test.tsx perf: lower manifest script preload priority (#8212) 2026-10-16 15:35:33 +02:00
searchMiddleware.test.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
setupTests.tsx chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
store-updates-during-navigation.test.tsx fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
transitioner-listener-errors.test.tsx fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
transitioner-remount.test.tsx test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
transitioner-render-ack.test.tsx fix(router-core): preserve pending UI across retained routes (#8084) 2026-08-18 14:09:36 +02:00
Transitioner.test.tsx test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
use-match-outgoing-transition.test.tsx test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
useBlocker.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
useBlocker.test.tsx chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
useCanGoBack.test.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
useLoaderData.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
useLocation.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
useMatch.test-d.tsx refactor(router-core): migrate matches and route options to core (#3552) 2025-02-24 23:17:58 +01:00
useMatch.test.tsx test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
useNavigate.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
useNavigate.test.tsx chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
useParams.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
useParams.test.tsx feat: match params (#7263) 2026-04-30 19:47:07 +02:00
useRouteContext.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
useRouterState.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
useSearch.test-d.tsx feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
utils.ts fix(router): apply preload delay to viewport links (#8044) 2026-08-12 09:52:36 +02:00