swup / js-plugin

A swup plugin for managing animations in JS  🎸
https://swup.js.org/plugins/js-plugin
MIT License
23 stars 5 forks source link

[Feature Request]: Rethink what should happen if no animation was matched #38

Open hirasso opened 7 months ago

hirasso commented 7 months ago

Describe the problem 🧐

Currently, the fallback for the case where a route matches no animation seems to be incoherent.

Describe the propsed solution 😎

I'd like to

Alternatives considered 🤔

I also thought about letting the user animate routes without a match in JS plugin via CSS – simple CSS animation for every page transition, except this one where I need more control. But I can imagine this would come with quite some complexity.

How important is this feature to you? 🧭

Nice to have

Checked all these? 📚