You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 actionStateProvider.autoDispose
for guarded based actionAnother 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.The text was updated successfully, but these errors were encountered: