Skip to content

Vue3.5: defineAsyncComponent in keep-alive the hook onActivated is not called #11916

@pmengy

Description

@pmengy

Vue version

3.5.4

Link to minimal reproduction

https://github.com/ritilyn1991/testdemo.git

Steps to reproduce

npm i
npm run dev
http://localhost:8080/test1

What is expected?

console.info('activated-test1')

What is actually happening?

no console

System Info

No response

Any additional comments?

use Vue3.4 version: defineAsyncComponent in keep-alive the hook onActivated is called
use Vue3.5 version: the hook onActivated is not called

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.regressionscope: keep-alive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions