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

activated lifehook is not called in async component #12910

Open
MuffinK opened this issue Dec 26, 2022 · 0 comments
Open

activated lifehook is not called in async component #12910

MuffinK opened this issue Dec 26, 2022 · 0 comments

Comments

@MuffinK
Copy link

MuffinK commented Dec 26, 2022

Version

2.7.14

Reproduction link

codesandbox.io

Steps to reproduce

Click "add key" and "decrease key", or just wait 10s.

The activated lifehook behaved different in async component, sync component and dynamic component.

What is expected?

Activated lifehook is called in async component,

or just behave in the same way.

What is actually happening?

When using async component, activated lifehook is not called when loaded for the first time.

When using dynamic component, activated lifehook is never called after mounted.

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