So I needed a nice looking static page kicked up on a CloudFront endpoint the other week. Just one single static page which had corp branding on it and had some blurb, a title and a link to a dataset we publish occasionally on it. This is so we can send it out in an email. I left it to our web team with that explicit requirement and they came back with a bloody react front end. Went back to them with a WTF and it tur…
Eh, depending on the amount of content on the page astro + react is fine. Astro lets you output everything as static html so it doesn’t hurt your page scores I find that there is a context switching cost going from react to vanilla html/js/css. So i just default to react on everything.
The page I did was less than 4K with all content and css embedded and took me 10 minutes.
There's doing the job and there's costing the company a boat load of money doing the job.