3 ms·
IMO for most use cases it's really not needed. Clients are fast and traditional single-page applications are easy and straightforward to build. Vercel is a hos
by jjordan 2y ago
IMO for most use cases it's really not needed. Clients are fast and traditional single-page applications are easy and straightforward to build.
Vercel is a hosting company, and that was never more apparent than when they enabled App Router (i.e. server-side rendering) by default way before it was actually ready for mainstream adoption.
- leerob 2y agoFYI: The Next.js App Router prerenders by default, meaning pages will be statically generated as HTML. This has been the behavior since Next.js 9 (and the Pages Router). React Server Components, despite first impression from the name, can be prerendered and do not require an always-on server to use.
- solardev 2y agoHey leerob, Thanks for your work on Next! It's still my go-to framework for most projects. But can I ask, please, what you think the primary advantages of RSCs and the App Router are over Pages? Is it worth the additional complexity over Pages for most use cases? When does it make sense and when does it not?
- acdha 2y ago> Clients are fast and traditional single-page applications are easy and straightforward to build. None of that is true universally unless your target audience is corporate users with hardwired connections and high-end computers. If you measure performance, very few SPAs manage to approach the performance of a 2010 SSR app and even fewer developers spend the time to handle errors as well as the built-in browser page reloading behavior. That’s not to say that an SPA can’t be fast or robust, only that the vast majority of developers never get around to doing it.