Hacker News new | ask | show | jobs
by graypegg 682 days ago
To be fair, <a> tags can't send out non-GET requests. Which yes, can be interpreted as "logout controls should be buttons in forms, not links", but I would really like native htmx-like attributes for intractable html elements.
1 comments

What’s stopping you from using htmx with a form? Hx-post works as a form element attribute just fine.
Nothing. I just think it logically makes sense as a native feature.