Skip to content

[Feedback] Interaction between precompute and typedRoutes #287

@jmduke

Description

@jmduke

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?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions