Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


The events have types though, and if you’re pulling data dim the server that also has in theory a type.


Sure, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: