Tracking: open Router and Start PRs by problem area

Abierto
#8,810 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
10/100
Tipo de issue
Documentación
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
node.js, react, typescript, vite, webpack
Área
full-stack

Línea de trabajo

This issue tracks the author's open PRs; no new code is requested. Read the listed PRs (e.g., #8293, #8294, #8291) to see the scope of each change. Done when all checkboxes are ticked after those PRs merge.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

This issue tracks my open Router and Start PRs, grouped by the problem each one solves. PRs in the same group usually touch the same code, so reviewing and landing them together avoids repeat conflicts.

Prerender and static output

#8291, #8293, and #8294 are split from #7346. #8294 is stacked on #8293, so #8293 lands first.

  • #8293: typed, streaming prerenderParams for dynamic routes, with per-page options and cancellation. Build-only callbacks are removed from deployed bundles by default.
  • #8294: route-level and per-entry sitemap metadata, with streamed sitemap and pages.json output.
  • #8291: removes statically disabled SSR route code from production server bundles, keeping root shells, fallbacks, and client hydration. Fixes #6400.
  • #8298: Vite prerender redirects go through the shared redirect handler, and redirects that leave the preview origin are skipped.
Wrong or unneeded JS and CSS reaching the browser
  • #8780: a chunk shared by sibling routes no longer gives one route another route's CSS and preloads. Rsbuild availability is now the intersection across parents, as in Rspack and webpack.
  • #8275: RSC streams decode on first render, so a component that never renders no longer downloads client JavaScript or applies global CSS.
  • #8277: a route module's first import no longer overwrites another router's route with the same ID, Vite RSC hot updates stop piling up stylesheet links, and webpack/Rspack ChunkLoadError uses the existing reload-once recovery. Supersedes #7219, #7901, #7937, #7304, and #7653. Fixes #7921 and #7633.
Work that keeps running after teardown or restarts
  • #8273: destroying or replacing a history removes its scroll-restoration listeners, so routers created and disposed without a page reload stop writing scroll positions on pagehide.
  • #8268: queued hydration-replay events are released when a deferred hydration boundary unmounts before hydrating, so they no longer keep removed DOM nodes alive. Covers React and Solid.
  • #8266: the closed devtools panel stops scanning the route cache every 500 ms (4 scans to 0 over 2 s in the fixture), and shared-style construction drops from 16 calls to 1.
  • #8272: inline idle() calls no longer restart pending hydration on every render.
Shipped bytes
  • #8392: apps that define no server functions no longer bundle the RPC client. Minimal React Start drops 10,094 B gzip with Vite and 12,914 B with Rsbuild; apps that use server functions grow 141 B and 449 B. Per-call overhead is unchanged.
  • #8269: code-splitting warnings stay out of production browser bundles when NODE_ENV and the bundler mode disagree. The focused webpack fixture drops one warning and 176 B gzip; the 18 standard bundle scenarios are unchanged.
Build-time speed
  • #8276: route splitting parses each reference file once instead of three times, and skips source maps the webpack and Rspack adapters discarded.
  • #8305: compiles the code-splitting grouping schema once and skips Zod parsing for Rspack modules without server-function metadata.
  • #8271: eslint-plugin-start scopes server-component checks to each argument or callback and caches graph edges, removing repeated scans of unrelated code.
Runtime speed
  • #8806: Seroval 1.7.1 cuts per-node allocations in its parsers and streaming serializers and adds backpressure for streamed async iterables and ReadableStream. The tradeoff: a minimal Vite client entry grows from 7,460 B to 8,652 B gzip, while Rsbuild bundles shrink.
API behavior
  • #7776: matchRoute applies params.parse, respects route precedence, and returns false for templates that aren't in the route tree. Closes #2450.
  • #7693: server functions accept an optional manual id, with collision rules and IDs that survive HMR.
  • #8274: development RSC slot previews clone each shared object once and no longer overflow the stack on cyclic arguments.
Repo and docs
  • #8612 (draft, not for merge): what the pnpm 12.9.1 upgrade looks like. The lockfile grows 4,560 bytes and resolved versions don't change.
  • #8267: performance-review and webpack guidance for the agent instructions.
  • #7511: a Request Lifecycle guide for Start, covering middleware, server routes, server functions, and SSR.
Lenguaje dominante
TypeScript
Estrellas
15.3k
Forks
1.9k
Merge medio
1 d 5 h
PR fusionados (30 d)
46

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TanStack/router

Todos los issues de TanStack/router

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.