5 ms·
I wrote an essay on that topic here: https://htmx.org/essays/when-to-use-hypermedia/ https://htmx.org/essays/when-to-use-hypermedia/ Things that involve a lot
by recursivedoubts 3y ago
I wrote an essay on that topic here:
https://htmx.org/essays/when-to-use-hypermedia/ https://htmx.org/essays/when-to-use-hypermedia/
Things that involve a lot of events that need to be handled quickly are not a good fit for hypermedia. Sometimes you can have a rich island inside hypermedia though (e.g. a rich text editor w/ autocomplete, etc) so long at is triggers events and offers form participation. Two common examples I give are google maps and google sheets. Those would be difficult to do well in htmx. (But the settings pages for them might be a good use case for it)
- gedw99 3y agoI saw a htmx demo where the first request loaded the whole page to the browser and also synchronously loaded the code on the server into the browsers service worker. The next request hits the service worker and then gets any json from the server ( if not cached ) and returns the html fragment. It uses htmx . I thought it was a nice have your cake and eat it too
- lsferreira42 3y agoHello, how do you do those drawings in this post?