Skip to content

Error thrown when editing Vuex state via devtools in strict mode #757

Closed
@imtbl

Description

@imtbl

Version

5.0.0-beta.1

Browser and OS info

Chrome 69 / macOS 10.13.6

Steps to reproduce

  1. Enable strict mode in Vuex
  2. Edit the state via devtools

What is expected?

The state should be changed without throwing an error (since we are manually and knowingly changing the value via devtools).

What is actually happening?

The state is changed, but Vuex throws an error:

Error: [vuex] Do not mutate vuex store state outside mutation handlers.

It's really only a minor annoyance – not sure if it this can be changed at all (or if it's worth the trouble).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions