2
2 Comments

MERN Stack VS Next.js

I've been using the MERN stack (Mongo, Express, React, Node) for a while now. To deal with the SEO limitations of React I've used React Router and React Helmet. With the rise of Next.js I'm trying to fully understand the benefits of using Next VS the set up I just mentioned. Can anyone fill me in?

on May 24, 2022
  1. 1

    I’m in the opposite position of sorts, I don’t see the benefits to using MERN opposed to Next.js and Firebase (i’d love an explanation)

    I can speak on using Next vs React Router and React Helmet though, Next is great. Super easy to configure routes opposed to react router, it’s just your folder structure and then you’re set.

    As for making it SEO friendly, it’s simply a matter of inserting one of the functions at the top of your page depending if you want SSR, SSG or ISR.

    I’ve only worked with Next for a little bit though but found it much easier than React Router and Helmet. That’s just my practical impression on why using Next is so great, you’ll be able to find plenty of other in depth technical reasons with other people though.

Trending on Indie Hackers
I've been building for months and made $0. Here's the honest psychological reason — and it's not what I expected. User Avatar 167 comments Agencies charge $5,000 for a 60-second product demo video. I make mine for $0. Here's the exact workflow. User Avatar 152 comments This system tells you what’s working in your startup — every week User Avatar 52 comments 11 Weeks Ago I Had 0 Users. Now VIDI Has Reviewed $10M+ in Contracts - and I’m Opening a Small SAFE Round User Avatar 44 comments I built a health platform for my family because nobody has a clue what is going on User Avatar 15 comments Show IH: WeProcess. Integrated platform or another all-in-one stretched too thin? User Avatar 9 comments