200 OK + visual feedback on errors: keep it or replace it? #1085
podliashanyk
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Current situation:
We return
200 OKon errors and supplement it with UI in order to indicate in the browser that there is a HTTP error that occurred.Pros:
Cons:
Alternative solutions:
What it does is lets you define multiple
hx-targetattributes on the same element.Pros:
Cons:
hx-targetattribute)Discussion was originally started in #1023, see comments there.
Beta Was this translation helpful? Give feedback.
All reactions