2 ms·
Absolutely. My point is that most or almost all HTMX examples/tutorials/tests show no error handling at all. Sooner or later you need to handle these different
by SahAssar 3y ago
Absolutely. My point is that most or almost all HTMX examples/tutorials/tests show no error handling at all.
Sooner or later you need to handle these different errors, and I don't think HTMX has these sort of "non-happy" paths at mind.
- yawaramin 3y agoGo to https://htmx.org/reference/#events https://htmx.org/reference/#events and find in page 'error'. You will see all the different error events that htmx lets you hook into and handle. Don't be fooled by its apparent simplicity. It's very carefully designed.