Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yuliswe opened this issue Oct 8, 2021 · 0 comments
Open

Comments

@yuliswe
Copy link

yuliswe commented Oct 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant