Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beforeLeave, onLeave, etc called on initial load #53

Open
hedgepigdaniel opened this issue Aug 23, 2019 · 0 comments
Open

beforeLeave, onLeave, etc called on initial load #53

hedgepigdaniel opened this issue Aug 23, 2019 · 0 comments

Comments

@hedgepigdaniel
Copy link
Collaborator

Whe the call middleware is used with the { prev: true } configuration, it refers to the previous route.

On the initial page load, there is no previous route, so I don't think it makes sense to call those callbacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant