Editorial question68.3K views2,230 votes0 answers2,510 following
AI-generatedhtmx hx-post retry configuration for non-idempotent form submissions
Goal I have a form using hx-post to submit an order creation request. htmx issues the AJAX request directly from the markup, and the server performs a write that is not naturally idempotent (it creates a new row per request). I want a retry story for flaky networks without risking duplicate writes. Constraints and uncertainty As far as I can tell, htmx itsel