Worth adding that Next is to React what Nuxt is to Vue, though if you don’t know what Nuxt is, that won’t help.
And what Svelte Kit is to Svelte. ;)
Re:Next.js 11
by anichhangani on Tuesday June 15, 2021 @02:24PM
(#27519473)
sounds similar to aspnet razor pages. is it?
Re:Next.js 11
by RobertKerans on Tuesday June 15, 2021 @04:44PM
(#27521252)
Looking at the razor pages overview & that seems a very reasonable comparison (now you mention that, see PHP, in the form of "just chuck a few files on a server that understands them and off you go, dynamic website")
It's excellent for building page-based sites and apps and comes with lots of nifty features that just seem to work. And, the most part, it's just out of your way.
Regarding the ideal use, I'd say any project that benefits greatly from (partially) pre-rendered content and statically generated pages is best served by Next and its data fetching [1]. I can't think of a FE-based solution that is anywhere near as good. It's also the only sane way to work with the insanity that is JAM stack [2].
Whatever you do, it's a safe bet.
0 - https://nextjs.org
1 - https://nextjs.org/docs/basic-features/data-fetching
2 - https://jamstack.org