View Post

Why I still use React + Vite, and not a framework like Next.js, Gatsby, or Remix for my SPA Web App

#frontend #dev #react #javascript

If you see current trending frontend stack recently, you know that a lot of people starting to migrate to React-based Meta Framework like Next.js for their web app, even though they are basically just a single-page web app and doesn't require things like Static Site Generation (SSG), Server-side Rendering (SSR), and other.

In my personal opinion, a web app, if the layout or response doesn't need to be generated from server-side and behaving like some kind of native/progressive web app, still fits perfectly using pure react library with some bundler.

That's it. In the end, it's heavily depends on the purpose of the web app. If you need SEO-optimized website, sticking to that framework is still the best decision. If you need simple, or progressive/native-like web app, you can just use an old-fashioned React SPA.

Just my 2 cent.