tatethurston / nextjs-routes

Type safe routing for Next.js
MIT License
553 stars 20 forks source link

Add README notice about Next.js 13 app router statically typed links #175

Closed mcapodici closed 8 months ago

mcapodici commented 8 months ago

This is a notice for someone who has searched for a solution and found this repo, to tell them they can use a built in feature that may fit their needs.

Although I love the effort that has gone into this project, I think many people will prefer to consider a solution that doesn't need an extra dependency.

mcapodici commented 8 months ago

Related Issue (now closed) https://github.com/tatethurston/nextjs-routes/issues/174

tatethurston commented 8 months ago

Thanks @mcapodici

tatethurston commented 8 months ago

@mcapodici Does Next's experimental option still only work for the app directory, or does it now support pages?

mcapodici commented 8 months ago

@mcapodici Does Next's experimental option still only work for the app directory, or does it now support pages?

Looks that way: https://nextjs.org/docs/app/api-reference/next-config-js/typedRoutes