Skip to content

activated lifehook is not called in async component #12910

Open
@MuffinK

Description

@MuffinK

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions