htmx
htmx copied to clipboard
Extension documentation is misleading on hx-ext usage for sse and ws
Many of the extensions pages show in their Installation sections that hx-ext belongs on the body element. This isn't correct for the ws and sse extensions.
A simple fix is to remove mention hx-ext from the Installation sections, deferring to the correct examples in the Usage sections.
But without adding the extension to hx-ext attribute on body or some other lower element they will not function right?
It won't, and that's covered, completely (and in the case of sse and ws, correctly), in the Usage section of those pages.