Skip to content

[Feedback] Interaction between precompute and typedRoutes #287

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions