View isn't sync in combined usage of mixin & provide & render fn & computed (no explicit reason)
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
What is actually happening?
After the first correct mutation, the view doesn't sync anymore.
Some factors effect the demo. If you
- don't pass anything to
child
's slot, the behavior will be correct - remove the mixin inside
child
, the behavior will be correct - write parent in
.vue
sfc, the behavior will be correct ...
It works in 3.0.2
, fails after it.
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.
Same as #2768, like @edison1105 said, it caused by af95604 .