Tracking: open Router and Start PRs by problem area

オープン
#8,810 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
10/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
活発
技術スタック
node.js, react, typescript, vite, webpack
領域
full-stack

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
15.3k
フォーク
1.9k
平均マージ
1日 5時間
マージ済み PR(30日)
46

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TanStack/router のほかの issue

TanStack/router の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。