vue icon indicating copy to clipboard operation
vue copied to clipboard

activated lifehook is not called in async component

Open MuffinK opened this issue 2 years ago • 0 comments

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.

MuffinK avatar Dec 26 '22 08:12 MuffinK