Why Nostr? What is Njump?
2024-07-25 13:15:39
in reply to

Eric Zarowny on Nostr: I haven’t yet found a pattern I like when it comes to handling both the GET and ...

I haven’t yet found a pattern I like when it comes to handling both the GET and POST sides of forms with HTMX. I usually want the form and its necessary context to be rendered with the initial GET request to a view. The POST (and returning errors from the POST) is often a separate view especially if there are multiple forms on a page.
Author Public Key
npub1amvpla0zdlz8ukhkeqej8ghkq6yz5pp4e8qe8rhum357dj7fdjjqp3fzhd