Next.js Discord

Discord Forum

Need Suggestion to choose b/w React or Next

Unanswered
Atlantic salmon posted this in #help-forum
Open in Discord
Atlantic salmonOP
I have a large scale project. It's an office management system with multiple offices, roles, hierarchy along with admins and superadmin. The backend is going to be on NestJs.
I am confused if I should go with Nextjs or should I choose react since it provides an easier role based routing system. I do have hands on experience with Nextjs but I have never built a project this complex.
What I'm looking for is suggestions from experienced devs, if project of such scale should be done on react or doing it in next will be fine too

5 Replies

I really have no answer to those questions comparing Next.js vs React
It's not related to the project scale I swear
The main reason for using nextjs is to do serverside rendering. if you dont need serverside rendering, you dont really need nextjs.

What nextjs does bring to the table with what you are mentioning is the possibility to do gates based on user/role via middleware and a user/session based system like next-auth / auth.js

In the end the choice is yours. Just remember: React is a rendering library, nothing more. Nextjs is a full-stack system. You might as well ditch nestjs and do everything in a nextjs directly
American Chinchilla
Yeah next is full stack. React is client side only
American Chinchilla
Hmm strange saying react routing is “easier”, next.js was built to have easier routing