Skip to content
This repository was archived by the owner on Apr 1, 2019. It is now read-only.

react-redux@6.0.0 Uncaught TypeError: Cannot read property 'getState' of undefined #46

@davegravy

Description

@davegravy

react-redux 6.0 removed the ability to access the store from legacy context. This library uses

const { store } = this.context;
const state = store.getState();

store is undefined under version 6

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