Skip to content

when mapStateToProps is a factory and has one, the new method does not get ownProps #604

@lukeapage

Description

@lukeapage
mapStateToProps(initialState) {
    return (state, ownProps) => {
         // ownProps is undefined
    };
}

It works fine with no arguments or 2 arguments..

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