Skip to content

mapStateToProps shortcut #795

@miraage

Description

@miraage

Hello. We have an option to pass an object as mapDispatchToProps definition.
Any chance we can have an option to pass an object as mapStateToProps as well?
I don't think it's difficult to implement, while extracting all selectors logic is pretty common and well known practice.
I'm up for grab if it looks okay for you.

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