Subscribe on changes!

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

avatar
Dec 16th 2020

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.

avatar
Dec 16th 2020

It's really complicated too.like #2768

avatar
Dec 16th 2020

It's really complicated too.like #2768

Yes, I think it may be caused by the same reason (due to the version in which it fails). However I have no time for debugging it๐Ÿ˜‚. Hope it can be fixed soon.

avatar
Dec 16th 2020

Same as #2768, like @edison1105 said, it caused by af95604 .