It's time to ditch Medium for good! 🌈⚡️

Introducing Devblog by Hashnode. Blog on your domain for FREE. Highly customizable and optimized for developers.

Learn more

CRA vs Next.js vs Gatsby - Comparison

Once you’ve finished creating your “create react app”, you may have started to hear “Next.js” and “Gatsby”. From many aspects, it may look similar. But each has a purpose, their own pros and cons. One won’t fit for all.

Here is a quick comparison table. (Full guide initially posted in Coffee N Coding)

CRANext.jsGatsby
Final HTML code generationIn the Client (Browser)In the ServerIn the ‘build’ process (CI/CD server)
SEONot good enoughPretty goodPretty good
Supports any kind of websitesYesYesYes
Learning curveNormalReact + few Next.js apisReact + Graphql + few Gatsby apis
OutputHTML + CSS + JS filesHTML + CSS + JS files + Node.js code to serve these filesHTML + CSS + JS files
Supports Netlify (or any static hosting sites)YesNo (yes, if only using static export)Yes

Still confused? Read my full post where I explain with examples of different websites and which one to choose.

Gijo Varghese's photo

Gijo Varghese

Kochi, Kerala, India

gijo-varghesegijovarghese141
Write your comment…

CRA supports netlify and static hosting, I always use CRA with netlify and now

Reply to this…