Settings

Theme

SPA: React or Next.js?

1 points by Hewlberno 4 years ago · 3 comments · 1 min read


Trying to work out which is going to be easier to develop a dashboard for - want to be fast in development and not get stuck in too much abstraction

leerob 4 years ago

One advantage of using Next.js is you can have the same React application for your entire application (marketing pages, dashboard pages, docs, etc) since it supports all rendering types (server rendering, static generation, client-side).

It also has a built-in router, instead of having to pull in an NPM package, as well as many optimizations to make your app faster (image, font, and script optimizations).

Some notes here if you're looking at migrating existing code versus starting from scratch: https://nextjs.org/docs/migrating/from-create-react-app

ankalagon 4 years ago

I would choose react because is most used and there are some great resources to learn it well.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection