Closed
Description
Version
2.4.0
Reproduction link
Steps to reproduce
- Open the fiddle
- Switch between routes (should work)
- Change version to 2.4.0
- Switch between routes (doesn't work)
What is expected?
In older versions I was able to reuse a component with different paths. The beforeRouteEnter
hook was triggered nonetheless.
What is actually happening?
In 2.4.0 this behaviour is broken. The hook isn't called anymore.
This seems to be a direct consequence of #750 as match.instances
is empty for the route changes that don't work.