4 ms·
From what I could tell the sweet spot for HTMX would be much more targeted at adding some JS magic to an existing backend server based web app (i.e. Django, Fla
by somethoughts 4y ago
From what I could tell the sweet spot for HTMX would be much more targeted at adding some JS magic to an existing backend server based web app (i.e. Django, Flask, Rails) where the developer primarily is a Python/Ruby, HTML/DOM and database expert and doesn't want to get bogged down into supporting a full fledged frontend like React, Angular, etc. to add some UX flair to their mostly CRUD based app.
Native apps (i.e. iOS, Android, MacOS) purely in HTMX is probably not its sweet spot. Probably Electron (or Godot) would be better.
- recursivedoubts 4y agothere is a really neat mobile-native hypermedia called HyperView: https://hyperview.org/ https://hyperview.org/ which is discussed in depth in our book: https://hypermedia.systems/book/hyperview-a-mobile-hypermedia/ https://hypermedia.systems/book/hyperview-a-mobile-hypermedi...
- rlawson 4y agoQuestion. Have you ever seen someone use htmx in a capacitor/cordova app? I would rather use htmx like I have been instead of a different tech (like Hyperview)
- hokumguru 4y agoTurbo is pretty similar to htmx and Turbo iOS produces some stellar experiences https://github.com/hotwired/turbo-ios https://github.com/hotwired/turbo-ios
- ye-olde-sysrq 4y agoFunny you mention turbo/hotwire, I actually encountered a bug almost immediately after upgrading to Rails 7 where for some reason HTML5 video tags would work after a real page load but would not (with no error messages or anything) after a hotwire/turbo-"page"-"reload". I tore hotwire and turbo out and it worked. Oh, this was only on iOS and macos Safari, of course. Worked fine on FF/chrome.
- mejutoco 4y agoIMO the killer feature of htmx is quick prototyping. You can have an application really quick, only with some html templates in views. Maybe tailwind too, and you can skip css and js.