Skip to content

Watch callback API timing mismatch with RFC #120

@clemyan

Description

@clemyan

See vuejs/rfcs#78 (comment)

I have found some watch callback timing that does not match up with the current RFC.

Specifically,

  • watch(source, effect, { flush: 'post' }) triggers before DOM update
  • watch(effect, { flush: 'pre' }) triggers after DOM update

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions