Next.js Discord

Discord Forum

Regarding `typedRoutes`

Answered
Eastern Carpenter bee posted this in #help-forum
Open in Discord
Eastern Carpenter beeOP
Since typedRoutes is officially stable, as stated in the [blog post](https://nextjs.org/blog/next-15-5#typed-routes-stable), is there still a reason it isn’t the default setting? Or will it be enabled by default in future releases?
Answered by joulev
That would be a breaking change hence cannot be part of a minor update
View full answer

3 Replies

Answer
I have tried to migrate my bigger apps to typedRoutes:true and it was a big pain especially for dynamic routes. I don’t think it will be enabled by default any time soon, and if it becomes the default behaviour it’s likely I will explicitly disable it
@joulev That would be a breaking change hence cannot be part of a minor update
Eastern Carpenter beeOP
Ahh, that make sense