Skip to content

Abstract history mode doesn't fire afterEach hooks when using router.go() #3250

Closed
@sirlancelot

Description

Version

3.3.4

Reproduction link

https://codepen.io/sirlancelot/pen/wvMPeZj?editors=1011

Steps to reproduce

  1. Open Reproduction (Ensure CodePen's Console is open)
  2. In the Output Window, click the "One" link
  3. Observe that the afterEach hook fires ("Navigate / -> /one" is emitted in the Console)
  4. In the Output Window, click the "Back" link

What is expected?

  • The afterEach hooks should fire when router.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.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions