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

Broken reactivity for watch option #2175

Closed
CyberAP opened this issue Sep 20, 2020 · 3 comments
Closed

Broken reactivity for watch option #2175

CyberAP opened this issue Sep 20, 2020 · 3 comments

Comments

@CyberAP
Copy link
Contributor

CyberAP commented Sep 20, 2020

Version

3.0.0

Reproduction link

https://jsfiddle.net/7bahj9su/1/

Steps to reproduce

  1. Watch an array
  2. Push to the array

What is expected?

Watch should trigger after push.

What is actually happening?

Nothing.


It is working in Vue 2: https://jsfiddle.net/7bahj9su/

@amrnn90
Copy link

amrnn90 commented Sep 20, 2020

I think this is a duplicate of #2116

@posva
Copy link
Member

posva commented Sep 20, 2020

Duplicate of #2116

@posva posva marked this as a duplicate of #2116 Sep 20, 2020
@posva posva closed this as completed Sep 20, 2020
@CyanSalt
Copy link

I think it is different with #2116 . Use { flush: 'post' } in Composition API could solve it. It might be caused by the broken change of 3.0.0-rc.13.

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

No branches or pull requests

4 participants