js-plugin
js-plugin copied to clipboard
[Feature Request]: Make animation matching more straight forward
Describe the problem 🧐
Currently, the animations also match of either from or to matches a given route. This is pretty confusing and can lead to brittle setups.
Describe the propsed solution 😎
I'd like to follow the matching logic of fragment-plugin. Return the first animation where both from and to match the current route.
Alternatives considered 🤔
Leave it like it is. This would scare me away from using the plugin
How important is this feature to you? 🧭
Would make my life a lot easier
Checked all these? 📚
- [X] I have read and searched the official docs
- [X] I have checked discussions and existing issues for related problems
- [X] I agree to follow this project's Code of Conduct
- [X] I have provided all necessary information to the best of my knowledge