Skip to content

Why is AsyncValue not triggering when when provider gets invalidated #3019

Answered by noriHanda
artahc asked this question in Q&A
Discussion options

You must be logged in to vote

It is an intended behavior. You can change a parameter of when skipLoadingOnReload to true to fire loading callback.
Refer to: https://pub.dev/documentation/riverpod/latest/riverpod/AsyncValueX/when.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@artahc
Comment options

Answer selected by artahc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants