5 ms·
How Unpoly differ from Hotwire (Turbo+stimulus) or htmx+alpinejs? https://htmx.org/ https://htmx.org/ https://alpinejs.dev/ https://alpinejs.dev/ https://turbo
by besil 5y ago
How Unpoly differ from Hotwire (Turbo+stimulus) or htmx+alpinejs?
https://htmx.org/ https://htmx.org/
https://alpinejs.dev/ https://alpinejs.dev/
https://turbo.hotwired.dev/ https://turbo.hotwired.dev/
https://stimulus.hotwired.dev/ https://stimulus.hotwired.dev/
- midrus 5y ago(My opinions) Compared to Hotwire: I think hotwire is the best option if you're using Rails. From what I know, hotwire needs a lot more of backend "collaboration" than Unpoly, so you will need backend "hotwire" implementations. You can see these things are being built for django, etc. Compared to Htmlx+ Alpine: Let me start with the disclaimer that I think Alpine.js is an aberration. Writing code inside html attributes is a fantastic way to break every editor templating language plugin, syntax highlighting, etc. Despite of me not liking Alpine, I think unpoly handles a lot more use cases, and it feels a lot more "declarative" to me. Compared to both: Unpoly is kind of the "django" or "rails" in this category of tools. It gives you a lot of stuff. From page transitions loading progress bar (a'la turbolinks) to ajax replacing links, to modals, to popups to sidebars, to automatic blocks replacement (up-hungry) to form posts, to handle error responses, layers, polling.... and it has an awesome way of writing your own "components" with the up.compiler api. I honestly think the only reason Unpoly isn't the most popular solution in this space is because of bad marketing (well, no marketing at all...). I really think it is the best (if you're not using Rails, then I'd use Hotwire+Stimulus+etc...).
- redbar0n 5y agoI’d try Inertia.js compared to Unpoly. It seems a more modern alternative. It’s like HOTwire Turbo (aka. Turbolinks), but with JSON over the wire. But no API needed.