Skip to content

Receive the action that caused the state update in StoreConnector hooks #221

@yuliswe

Description

@yuliswe

Hi, I was wondering if there's a way to receive the last action that produced the state in StoreConnector.ignoreChange?

Use case: This is for performance tuning. So we can ignore a part of the state update when we are sure that only a certain action can cause that part of the state to be changed. In this case, producing a new ViewModel could be skipped, because it is expensive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions