Skip to content

Why use custom router in the project? #130

Answered by yoannfleurydev
winner106 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @winner106, I converted the issue as a discussion so it is better for us to manage the real issues.

We do not use the Next.js router because it does not allow nested routes layout like react-router-dom can offer (as explained in the README, we might improve this part in the future). At @BearStudio, we mostly use this project to generate back office applications that does not require the Next.js Routing and Server Side Rendering, so we made the choice to use react-router-dom for the app part that is provided by the app.js page that use the Next.js routing.

I hope everything is clear. Feel free to ask more questions if needed. 😊

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by winner106
Comment options

You must be logged in to vote
3 replies
@ivan-dalmet
Comment options

@vmundhra
Comment options

@yoannfleurydev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #129 on December 07, 2021 21:06.