DEV Community

loading...

Discussion on: Use next.js with react-router

Collapse
tclain profile image
Timothée Clain

In my own experience in a large entreprise express app, sometimes you cannot afford to migrate your app to next all at once, but you still need to ssr some pages. The solution might not seem sexy, but it can be a path in the scenario

Collapse
arnemahl profile image
Arne Mæhlum

This was our case as well, except multiple apps owned by different teams. The fact that you can use react-router inside a Next app means one less hurdle to overcome, which makes it easier to get buy-in from each team.

Getting more pages together in the same app makes it so much more productive to share code across pages 😁

Collapse
toomuchdesign profile image
Andrea Carraro Author

That was exactly my case.