News for hackers. Stuff that matters.
Re:Is htmx Just Another JavaScript Framework? by ndyg on Thursday January 11, 2024 @12:10PM (#38955147)
> As they should! Building with htmx works a lot better if you play to its strengths. You can send JSON-formatted form bodies, if you really insist. But you shouldn’t!

This excellent essay overlooked a '*':

* unless you are using bash + jq for your backend, in which case, JSON-formatted form bodies are quite reasonable.

Re:Is htmx Just Another JavaScript Framework? by alexpetros on Thursday January 11, 2024 @12:21PM (#38955326)
Author here. Happy to admit that bash + jq backends are an excellent reason to use JSON formatted bodies. Godspeed you crazy animal.