Replies: 2 comments 6 replies
-
Html fragments are FAR from an htmx innovation... As far as I'm aware, this is the original basis of AJAX, largely served by jQuery for a long time |
Beta Was this translation helpful? Give feedback.
6 replies
-
Some more discussion of the content type here: #1229 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm surprised there's no HTMX media-type. Requests made by HTMX could have this media-type (maybe
Accept: text/html+htmx
?) so the backend could better disambiguate between pure HTML requests (larger-grained, full pages, for clients without js enabled) and HTMX ones (finer-grained, returning only parts of the page). This would also help with progressive enhancement.Is this a strange idea?
Beta Was this translation helpful? Give feedback.
All reactions