0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs/start/framework/react/guide
Manuel Schiller e2340871e8 fix(start): pre-bundle Router Core's browser deps in test runs, wait for the callback in runInRequest
- A browser test run found `cookie-es`, `seroval` and
  `seroval-plugins/web` only when a test imported them, because Start's
  packages are not pre-bundled and Vite's start-up scan does not look
  into them. Vite then pre-bundled them and reloaded the page, and in CI
  a test iframe did not start ("did not become ready within 60000ms").
  The test-run plan now includes them by a path from the Start package.
- `runInRequest` resolved before the callback had finished when a
  request middleware did not wait for `next()`, and reported that the
  middleware had ended the request. It now keeps the callback's promise
  and always waits for it. That replaces two flags.
- The generator test compared route file paths built with `path.join`,
  which fails on Windows: the generator names them with forward slashes.
- Simpler: the mock registries register their maps with the setup file
  instead of a snapshot function each, the client function of a
  middleware is wrapped only when it has one, and the scope no longer
  carries a handler type that was always `router`.
- Docs: tests that run concurrently share the mocks registered outside
  `runInRequest`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-15 17:39:12 +01:00
..
authentication-overview.md response reconciliation (#7588) 2026-10-13 00:01:04 +02:00
authentication-server-primitives.md response reconciliation (#7588) 2026-10-13 00:01:04 +02:00
authentication.md response reconciliation (#7588) 2026-10-13 00:01:04 +02:00
cdn-asset-urls.md docs: remove duplicate Router and Start page headings (#8339) 2026-09-10 12:32:59 +02:00
client-entry-point.md docs: remove duplicate Router and Start page headings (#8339) 2026-09-10 12:32:59 +02:00
code-execution-patterns.md docs: correct local relative links (#6027) 2025-12-05 22:39:47 +11:00
css-styling.md docs (#7520) 2026-06-01 21:46:55 +02:00
databases.md docs(start): describe key search entry pages (#8367) 2026-09-11 14:47:42 -06:00
deferred-hydration.md docs: use new query methods (#7100) 2026-10-06 17:59:20 +02:00
early-hints.md perf: lower manifest script preload priority (#8212) 2026-10-16 15:35:33 +02:00
environment-functions.md docs(start): troubleshoot server and client execution boundaries (#8394) 2026-11-05 21:26:23 -07:00
environment-variables.md docs: Update environment variable validation to use z.url() (#5570) 2026-07-17 20:47:19 +02:00
error-boundaries.md docs: Fix frontmatter title field (#6753) 2026-02-24 20:28:51 +01:00
execution-model.md rename inputValidator to validator (#7566) 2026-06-06 23:05:56 +02:00
geo.md docs(start): rename LLM optimization guide to GEO (#7620) 2026-06-12 11:24:22 -06:00
hosting.md docs(start): troubleshoot Cloudflare deployment config (#8396) 2026-11-05 21:26:13 -07:00
hydration-errors.md docs: correct local relative links (#6027) 2025-12-05 22:39:47 +11:00
import-protection.md Start stable (#8696) 2026-10-13 00:45:16 +02:00
isr.md docs(start): fix tutorial and ISR guide links (#8366) 2026-09-11 14:36:09 -06:00
middleware.md rename inputValidator to validator (#7566) 2026-06-06 23:05:56 +02:00
observability.md rename inputValidator to validator (#7566) 2026-06-06 23:05:56 +02:00
path-aliases.md Start stable (#8696) 2026-10-13 00:45:16 +02:00
production-checklist.md docs(start): add production release checklist (#8373) 2026-09-11 17:14:04 -06:00
rendering-markdown.md docs(start): use TanStack Markdown in rendering guide (#8808) 2026-10-24 14:38:14 -06:00
routing.md docs: remove gitignore suggestion for generated route tree file (#6025) 2025-12-05 22:05:19 +01:00
selective-ssr.md docs: correct local relative links (#6027) 2025-12-05 22:39:47 +11:00
seo.md docs(start): describe key search entry pages (#8367) 2026-09-11 14:47:42 -06:00
server-components.md Start stable (#8696) 2026-10-13 00:45:16 +02:00
server-entry-point.md response reconciliation (#7588) 2026-10-13 00:01:04 +02:00
server-functions.md fix(start-plugin-core): refuse custom server-fn ids that never worked over HTTP, deprecate the rest outside the unreserved set (#8858) 2026-11-08 11:42:06 +01:00
server-routes.md docs(start): clarify server functions vs server routes (#7651) 2026-06-18 12:49:10 +02:00
spa-mode.md docs (#7520) 2026-06-01 21:46:55 +02:00
static-prerendering.md docs (#7520) 2026-06-01 21:46:55 +02:00
static-server-functions.md docs: Move files to Guides section (#5441) 2025-10-11 17:53:56 +02:00
streaming-data-from-server-functions.md docs: Move files to Guides section (#5441) 2025-10-11 17:53:56 +02:00
tailwind-integration.md docs (#7521) 2026-06-01 22:05:37 +02:00
tanstack-query.md docs(start): record verified Query recipe versions (#8387) 2026-11-05 21:26:02 -07:00
testing.md fix(start): pre-bundle Router Core's browser deps in test runs, wait for the callback in runInRequest 2026-11-15 17:39:12 +01:00