Next.js Discord

Discord Forum

Decentralized routing using app router

Unanswered
African Slender-snouted Crocodil… posted this in #help-forum
Open in Discord
African Slender-snouted CrocodileOP
Is there any best practice to enroll decentralized routing in a Nextjs app using app router ?
In my case I have an external package that my nextjs app depend on. In my organisation this package is developed by another team that is responsible for the whole routing under a specific base route.

Eg, the external componen should be shown under /shop, where all sub routes preferably should be managed by the external package.

Any ideas?

1 Reply

African Slender-snouted CrocodileOP
I kind of feel that the app router (file based routing) is extremely limited in this way. Would the best approach be to use React Router in the external package?