Hacker News new | past | comments | ask | show | jobs | submit login

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.




Go to 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: