-
-
Notifications
You must be signed in to change notification settings - Fork 122
Description
We actually had a bundled configuration for adding Swup once, but then it seemed like the project was abandoned and some outstanding bugs weren't addressed. Now there's a whole new version and release cycle and it's receiving more frequent updates, so we should add it back. For fans of "Turbo Drive", Swup is very much in that vein and I haven't found anything better. (I'm already using this new version on a recent client project, it rocks.)
It should be pointed out that one could make the argument that cross-document view transitions is the new Drive. And for "simple" use cases, that's true. A line or two of CSS and you're good to go, you don't need anything else to make your MPA feel more SPA-like. But as soon as you need any part of your DOM to persist between page navigations, you have to move to something else. Swup supports native client-side view transitions which is pretty cool. It should also be noted Swup has an official Astro integration.