Skip to content

Mixin data is lost when a previous mixin watches that data #1016

@rashfael

Description

@rashfael

Version

3.0.0-beta.3

Reproduction link

https://jsfiddle.net/ek7bjy9q/13/

Steps to reproduce

None.

What is expected?

Text should read mixin1 mixin3.

What is actually happening?

Text reads mixin1 and vue.esm-browser.js:4685 [Vue warn]: Property "mixin3Data" was accessed during render but is not defined on instance. is printed in the console.


If the mixin order is [mixin1, mixin3, mixin2] instead, the text is displayed correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions