Re:Htmx is part of the GitHub Accelerator
by NaritaAtrox on Tuesday August 22, 2023 @03:27AM
(#37219701)
In there book, the authors specify that it is valid and normal to have additionnal endpoints for json. For exemple, Mastodon provide html endpoints as a interface for the user's browser, but also json endpoints for other clients (mobile app, cli tools, or others web app providing an alternative ui)
I recognize thats how templates work but for some reason it seems weirder when applied to the element, rather than page level.