DEV Community

Discussion on: An Introduction to React

Collapse
 
sturdynut profile image
Matti Salokangas

Next.JS is a framework built on top of React with lots of conventions where as NodeJS is simply a runtime for JavaScript. With NodeJS you will need to create a web server (express, hapi, etc) then setup your routes/views and serve up your react app. If you wanted to setup server side rendering you’d also need to do this yourself. You get all this and more out of the box with nextjs. It depends on your level of expertise and what you want. Do you just want to make something fast and not have to worry about all the setup? Then maybe node isn’t the right choice. NextJS let’s you get going quick. Although you will be locked into their conventions. You just need to weigh the pros and cons with your goals.

Collapse
 
heyprotagonist profile image
Anguram Shanmugam

🤓Awesome Thanks..!