Really fantastic writeup by @moh-kohn.eurosky.social about the power of HTML-first sites (and @astro.build!) My humble opinion is that 90% of websites don't need Next.js, React, or other hefty client-side frameworks—they just need static pages and the occasional form
Post
mohkohn.co.ukHow building an HTML-first site doubled our users overnightMy client was a utility company, and they had a big problem...
once i saw a codebase where every other svg file was a `.tsx` file with `use client` at the top and I wanted to throw my laptop into the ocean
0 reposts7 likes
Also, when I read the docs on 'use client', it seems to imply that the code does not run on the server. All the meta frameworks run the code on the server and client. react.dev/reference/rs...
react.dev'use client' directive – ReactThe library for web and native user interfaces