3 ms·
htmx is a JavaScript library which interprets a set of HTML attributes and JavaScript events. It doesn't have anything to do with static typing. However, it's f
by yawaramin 2y ago
htmx is a JavaScript library which interprets a set of HTML attributes and JavaScript events. It doesn't have anything to do with static typing. However, it's fairly easy to add a statically-typed layer on top of it eg https://github.com/yawaramin/dream-html https://github.com/yawaramin/dream-html
- antihero 2y agoThe events have types though, and if you’re pulling data dim the server that also has in theory a type.
- yawaramin 2y agoSure, but htmx doesn't have any opinion that those types should be statically checked. Anyone diligent enough can try to enforce it with enough work, but the juice may not be worth the squeeze.