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

check result action once behavior #4

Open
iliser opened this issue Dec 1, 2022 · 0 comments
Open

check result action once behavior #4

iliser opened this issue Dec 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@iliser
Copy link
Contributor

iliser commented Dec 1, 2022

Cause guards react to any changes in dependencies, here is often situation when actions run multiple times.
And this can't be easy prevented from guards because on each build new instance was created.

We can store fact that action applied in

  • StateProvider for global action
  • StateProvider.autoDispose for guarded based action

Another problem is race condition when multiple action modify same state. But core of this package is not maintain state or do action, but to conditional visualization and simplify invalid widget state prevention.

@iliser iliser added the enhancement New feature or request label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant