Replies: 1 comment 2 replies
-
Hi @aolko , thank you for your question! While it's certainly possible to build something where swup would work nicely together with htmx or unpoly, I wouldn't recommend it. There are some functionalities in both these libraries that would need very careful implementation to prevent collisions with swup, as they overlap functionality-wise. Before I landed at using swup in all my projects, I investigated htmx as well, but I ran into quite a few issues pretty quickly (https://github.com/bigskysoftware/htmx/issues/689, bigskysoftware/htmx#1015, to name a few). A friend of mine built a few websites using Unpoly, but has since also switched to using swup. I personally have had a great experience with combining swup + Alpine.js + Alpine Ajax. These three combined give me all the power I need for my projects and I haven't been missing anything since. I also like the focus on progressive enhancement and accessibility in swup. That's something you would need to be very careful not to break when using htmx or Unpoly. |
Beta Was this translation helpful? Give feedback.
-
How well swup pairs with html-first libraries that have some form of transitions, like htmlx or unpoly?
Beta Was this translation helpful? Give feedback.
All reactions