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
Write your answer…
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! :)
The Dev Community
Free, friendly and inclusive platform for developers
Or connect with