Swup Support for dynamically loading and transitioning pages #860
-
Looking to find a way to transition pages while keeping part of the page active (e.g. a side bar or music player). Swup supports loading the content and swapping it out with the new loading content avoiding the browser page load. It also can make use of pre-loading pages, so even faster page loads. Would having official support for a feature like this make sense? Does anyone have early work-arounds? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Also trying Turbo, it works but with a large issue. loaded islands are not unloaded, especially event handlers. Is there any way to trigger the islands to unmount? |
Beta Was this translation helpful? Give feedback.
-
The modern approach to that is view transitions which has already landed in Chrome and is expected to land in other browsers in the future too. Progress on that can be followed here #1532 . |
Beta Was this translation helpful? Give feedback.
The modern approach to that is view transitions which has already landed in Chrome and is expected to land in other browsers in the future too. Progress on that can be followed here #1532 .