Skip to content

event listener as dynamicProp is added erroneously to instance's props  #5520

@iwusong

Description

@iwusong

Version

3.2.31

Reproduction link

sfc.vuejs.org/

Steps to reproduce

open the console,click button

What is expected?

click trigger once

What is actually happening?

after update,click trigger twice


when event listener as dynamicProp on updateProps, it is added to the instance’s props and it can be implicit binded to other components again by "v-bind=$props". it maybe trigger the callback function multiple times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions