Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
07akioni opened this issue Dec 16, 2020 · 3 comments · Fixed by #3184

Comments

@07akioni
Copy link
Contributor

07akioni commented Dec 16, 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.

@07akioni 07akioni changed the title Reactivity broken in combined usage of mixin & provide & render fn & computed (no explicit reason) View isn't sync in combined usage of mixin & provide & render fn & computed (no explicit reason) Dec 16, 2020
@edison1105
Copy link
Member

It's really complicated too.like #2768

@07akioni
Copy link
Contributor Author

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.

@luwuer
Copy link
Contributor

luwuer commented Dec 16, 2020

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

@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants