Next.js Discord

Discord Forum

Node + React or Node + Next.js

Unanswered
Gouty oak gall posted this in #help-forum
Open in Discord
Gouty oak gallOP
Can anyone tell me if using Next.js only for the frontend to have SSR is a good idea, or if it's better to use React if I want to have a separate server? What are the pros and cons of this approach?

5 Replies

Milkfish
It's not a bad idea.
I just finished an e commerce site and this was how I built it.
Nextjs for frontend and express for backend.
Only problem is that now i have to manage two nodejs servers.
Maybe you have a different reason for it, but every time I've seen this done where people have Next.js and then on top of that a different backend like let's say an Express one, it's messy and ugly and hard to manage.
Pacific sand lance
it's fine, i used nextjs+nestjs in few projects with no issues
as of pros - it's easier to build and maintain expressjs server (imo)
as of cons - initial setup is harder