Skip to content

View isn't sync in combined usage of mixin & provide & render fn & computed (no explicit reason) #2829

@07akioni

Description

@07akioni

Version

3.0.4

Reproduction link

https://codesandbox.io/s/priceless-matsumoto-7i99q?file=/src/index.vue

Steps to reproduce

follow the link

What is expected?

The theme in theme-consumer should equal to parent's and child's.

View doesn't sync
image

What is actually happening?

After the first correct mutation, the view doesn't sync anymore.


Some factors effect the demo.
If you

  1. don't pass anything to child's slot, the behavior will be correct
  2. remove the mixin inside child, the behavior will be correct
  3. write parent in .vue sfc, the behavior will be correct
    ...

It works in 3.0.2, fails after it.

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