How does MERN compare to a static site generator like Jekyll or Gatsby?

Just looking for some thoughts and insight on comparing MERN to one of the static site generators. I understand, as an App stack, MERN would be 'overkill' for a static site, but Im looking to start a conversation on why that is and maybe even disprove it to some degree. Thanks

Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more

Comments (1)

Sai Kishore Komanduri's photo

Personally, I believe using MERN as a static site generator is in fact an overkill.

The reason being the requirements to achieve a static site generator — at the core, and by definition, all a static site generator does is to churn markup templates, to produce static HTML files.

Now, you can achieve this with MERN; but you will be left with unnecessary bloat — mongoose; express; code written, and optimised for server side rendering; are just a few things straight out of my head.

As a trivial example, what you can do though, is to combine Gatsby with MERN, and build a service for people who want to effortlessly host their static sites.

Hope this helps! :)