3 ms·
> why do we even bother use server side components The naive hope among some web developers is that not everything that we do on the web we do for the sole rea
by azangru 2y ago
> why do we even bother use server side components
The naive hope among some web developers is that not everything that we do on the web we do for the sole reason of SEO :-) Sometimes we do things in order to improve end user experience. Sometimes we even do things to improve website accessibility. Doing stuff either at build time or dynamically on the server allows us to send less javascript to the client for faster page loads (well, not necessarily when Next.js is involved; but still); as well as to send the prepared html to the browser, enabling progressive enhancement / graceful degradation. It also gives us full control over http status codes instead of always responding with a 200:OK. Plus relevant previews for when the url is shared in chat apps or social media.
- meiraleal 2y agoCould you please sum up what you think nextjs adds in this context? I read your comment a few times and still can't see any value added by nextjs