Skip to content

replaceState should trigger subscribe callbacks #1316

Open
@miaulightouch

Description

@miaulightouch

Version

3.0.1

Reproduction link

https://codepen.io/anon/pen/zajRgg?editors=1010

Steps to reproduce

  1. subscribe a callback
  2. replaceState with any object, and subscribe wouldn't be triggered

What is expected?

subscribe should be triggered

What is actually happening?

it's not.


if replaceState won't fire subscribe callback, vue-devtools would not work properly.

ref: vuejs/devtools-v6#690

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