Skip to content

Comment on Triptych Proposals

Comments

giving buttons to ability

Might want to fix that. :)

I haven't seen the proposal, but buttons can already set the form method (and action, and more). So I guess the "Button HTTP Requests" will just save the need to nest one tag?

    <form><button type="submit" formaction="/session" formmethod="DELETE"></form>
    <form action="/session" method="DELETE"><button type="submit"></form>

To be clear, I was referring to the minor typo.

This proposal also includes the ability to update a target DOM element with the response from that delete action.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.