[Feedback] Interaction between precompute and `typedRoutes`

オープン
#287 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

@dferber90 がすでに取り組んでいます。

2026年2月25日 から。

評価

この issue はまだ評価されていません。

説明

feedback

I'm onboarding to use Next.js's typed routes implementation (https://nextjs.org/docs/app/api-reference/config/typescript#statically-typed-links) And all of these routes expect the true file-based route to be passed in, which unfortunately means [code] in every route. This is pretty unfortunate because now we're hard coupling our general routing schema with whatever page happens to have an a b test on it at a given point in time. Is there any way to fix this or should we just not even bother with precompute?

主要言語
TypeScript
スター
629
フォーク
93
平均マージ
1日 15分
マージ済み PR(30日)
25

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

vercel/flags のほかの issue

vercel/flags の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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