it’s really ridiculous how react and friends killed server templating because it...

@zzt@mas.to

it’s really ridiculous how react and friends killed server templating because it’s supposedly inefficient, and now that everyone knows client-side react sucks, the technology that fixes that is… server templating, but broken and made of leaky abstractions

like, you don’t need what react is doing to have partial rendering (libraries like unpoly and htmx do it without the massive overhead, and your pages will work perfectly fine without JavaScript enabled too) or tag-aware templating, but there’s such little support for doing any of it in an efficient or nice way

there’s no reason why websites should suck this much, and there’s no reason why server templating needs to resemble either a PHP string templating shitshow or a react-style server rendering boondoggle. we can have nice, efficient websites that don’t feel awful to use or to work on, and we can do it without any required JavaScript at all.