6 ms·
I've just found having TSX on the server and TSX on the client to be a fairly trusty abstraction, and also typesafe way to update the DOM. The thing that is fr
by antihero 2mo ago
I've just found having TSX on the server and TSX on the client to be a fairly trusty abstraction, and also typesafe way to update the DOM.
The thing that is frustrating me about HTMX so far is: How do I build typesafe templates on the server? I'm trying out Aksama and it seems ok, is there something similar for JS?
Also the SPA abstraction of "your website is just a client that connects to a an API" is nice.
- yawaramin 2mo agoUse tagged template literals. I wrote about it here https://news.ycombinator.com/item?id=48915935 https://news.ycombinator.com/item?id=48915935