Skip to content

Watch not detect change when ref is changed inside this watch #1727

@edikdeisling

Description

@edikdeisling

Version

3.0.0-rc.4

Reproduction link

https://jsfiddle.net/zs3td94f/

Steps to reproduce

  1. Open jsfiddle
  2. Click button multiple times
  3. Watch console output

What is expected?

Every click fire console output

What is actually happening?

Only one log. Watch not detect change which made inside watch callback


This behaviour appeared in version 3.0.0-beta.23
There are link to the same example with 22 version
https://jsfiddle.net/hg64rkdx/3/

In the version 22 watch fires twice per click

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