Comment by Loaatao on 19/12/2024 at 20:33 UTC
696 upvotes, 2 direct replies (showing 2)
View submission: Is modern Front-End development overengineered?
Yes and it’s fueled by venture capital. React Conf was essentially one big advertising festival for vercel
Replies
Comment by techdaddykraken at 20/12/2024 at 00:49 UTC
158 upvotes, 1 direct replies
Support open source, support small devs. Fuck Vercel
Comment by m_hans_223344 at 20/12/2024 at 05:40 UTC*
89 upvotes, 9 direct replies
The craziness comes full circle when considering
- how poor NextJS websites perform in the real world compared to React in SPA mode Web Vitals Report incl. SPAs[1] The fastest sites are SolidJS SPAs ...
1: https://lookerstudio.google.com/reporting/55bc8fad-44c2-4280-aa0b-5f3f0cd3d2be/page/M6ZPC?params=%7B%22df48%22:%22include%25EE%2580%25800%25EE%2580%2580IN%25EE%2580%2580ALL%22,%22df44%22:%22include%25EE%2580%25800%25EE%2580%2580IN%25EE%2580%2580React%25EE%2580%2580Vue.js%25EE%2580%2580Next.js%25EE%2580%2580Angular%25EE%2580%2580Nuxt.js%25EE%2580%2580Svelte%25EE%2580%2580Astro%25EE%2580%2580SvelteKit%25EE%2580%2580Remix%25EE%2580%2580SolidJS%25EE%2580%2580SolidStart%22%7D
- how flawed the arguments about NextJS and friends (isomorphic SSR and CSR) are in terms of saving a network hop. When you visit a site with personalized data the first time you always (SSR and SPA) need two hops (to authenticate first). Visiting the second time (being already authenticated) the SPA is already cached in the browser so only the data needs to be fetched (one hop, just as with SSR). When a central database comes into play it even gets worse. Some scenarios are in favor of isomorphic SSR, but not *all* like the sponsored tech bros tell us on X and YT.
I'm not saying that isomorphic is completely useless - it is probably a great choice for online-shops (send product pages as fast as possible to any devices (SSR) and later allow to manage shopping carts (SPA)). But most website should use traditional SSR (MPAs) or when the site is highly interactive SPAs like Vue. But then there's no business for Vercel, Remix and co.