beforeRouteEnter hook's cb is not called (same component across diffrent routes and keep-alive applied ) #2561
Closed
Description
Version
3.0.2
Reproduction link
https://jsfiddle.net/9vctongd/1/
Steps to reproduce
- open the JSFiddle provided, open the console
- click link GO TO FOO1
- click link GO TO BAR
- click link GO TO FOO2
What is expected?
console prints:
foo enter
foo enter cb
foo enter
foo enter cb
What is actually happening?
console prints:
foo enter
foo enter cb
foo enter
also results in an infinite function call (function poll in base.js)