Abstract history mode doesn't fire afterEach
hooks when using router.go()
#3250
Closed
Description
Version
3.3.4
Reproduction link
https://codepen.io/sirlancelot/pen/wvMPeZj?editors=1011
Steps to reproduce
- Open Reproduction (Ensure CodePen's Console is open)
- In the Output Window, click the "One" link
- Observe that the
afterEach
hook fires ("Navigate / -> /one" is emitted in the Console) - In the Output Window, click the "Back" link
What is expected?
- The
afterEach
hooks should fire whenrouter.go()
is used. - "Navigate /one -> /" should be emitted in the Console.
What is actually happening?
afterEach
hooks are not firing. Nothing is emitted in the Console.