Skip to content

Q: Should ConnectorDecorator::shouldComponentUpdate consider changes in state slice? #22

Closed
@dbrans

Description

@dbrans

ConnectorDecorator::shouldComponentUpdate only looks at this.props. What if the result of select(state, this.props) has changed?
https://github.com/gaearon/react-redux/blob/52a280162c220d4ecf1ce826f9dcc423231e8c8b/src/components/createConnectDecorator.js#L13

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