Skip to content

mapState incorrect behavior with nested modules #712

@barbarNik

Description

@barbarNik

Version

2.2.0

Reproduction link

https://jsfiddle.net/7mda66b9/9/

Steps to reproduce

  • create vuex namespaced module A
  • create vuex NOT namespaced nested module B inside A
  • use mapState with namespace A

What is expected?

it is expected to get state of module A in mapState

What is actually happening?

mapState provides state of module B

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