3 ms·
Next.js is a very decent React based SSR framework imo, and not sure vue is more popular
by darepublic 6y ago
Next.js is a very decent React based SSR framework imo, and not sure vue is more popular
- baddox 6y agoGatsby is another very popular SSR framework that uses React.
- eivarv 6y agoGatsby's a static site generator, isn't it? That's different from SSR.
- floydnoel 6y agothere’s an SSR plugin for Gatsby. also, Next has the option to do SSG.
- iaml 6y agoThere's no reason to pick gatsby over next nowadays, next can do everything gatsby can and in a sane, reusable manner.
- andrewingram 6y agoI agree in the broad sense, but this isn't entirely true. Feature-wise, Next does seem like a superset of Gatsby, especially since it can support server, static and hybrid rendering models. Architecturally, Gatsby does have some advantages. They're not ones that are particularly important to me, but I don't think it's fair to ignore them: - The plugin model is more sophisticated, and there's a huge ecosystem of them which can solve most common use cases. - The ability to use a unified data graph means page invalidation and rebuilds upon data changes can be done automatically at a very granular level -- because it's possible to keep track of which pages would be affected by every piece of data. I'd add that I have issues with both, which leads me more to Next.js because it has a lower level of vendor lock-in compared to Gatsby. Anecdotally, migrating a small site from Gatsby to Next.js replaced 150 Gatsby-related imports with 10 Next.js ones.
- rk06 6y agoparent is talking about servr side frameworks like laravel, django, asp.net core mvc etc. Not node.js SSR framework For those, it is much more easier to add vue as a script tag. also easier to setup Vue, compared to react.