21 ms·
Interesting! I’ve been using Swup for the past three years in my core Wordpress theme, and am quite happy with it. It takes some getting used to (like with how
by trarmp 3y ago
Interesting! I’ve been using Swup for the past three years in my core Wordpress theme, and am quite happy with it. It takes some getting used to (like with how third party scripts will take some special care, since a JS page replace doesn’t always trigger script load events), but once you know the basics, it’s a powerful and neat tool to speed up a website that has a CMS.
The one thing I’m looking forward to in v4 is more advanced hooks, so I can do “fade into eachother” animations. Right now content is replaced in the same container, but it would be real cool if we could have the from and to page exist together during the transition.
- hinnisdael 3y agoSwup maintainer here. There is official support for parallel animations in swup v4: https://github.com/swup/parallel-plugin https://github.com/swup/parallel-plugin — we've been holding off on this for a while because of accessibility issues and some technical complexity around animating those. But we're very happy to have a first-party solution for this now: some UI interactions just make much more sense when still having the previous content around.