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

The activated hook dosen't called on initial mount when the component is async. #5651

Closed
dewfall123 opened this issue Mar 30, 2022 · 1 comment
Labels
🐞 bug Something isn't working scope: keep-alive

Comments

@dewfall123
Copy link

Version

3.2.31

Reproduction link

sfc.vuejs.org/

Steps to reproduce

  1. click the "Posts" button.
  2. click the "AsyncPosts" button.

What is expected?

console:

Posts: onActivated
AsyncPosts: onActivated

What is actually happening?

console:

Posts: onActivated

AsyncPosts component's activated hooks dosen't called on initial mount.

@LinusBorg LinusBorg added 🐞 bug Something isn't working scope: keep-alive labels Mar 30, 2022
@edison1105
Copy link
Member

duplicate of #5095

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: keep-alive
Projects
None yet
Development

No branches or pull requests

4 participants