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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I probably expected
ref.listen
would resembleuseEffect
because I'm familiar with hooks. Anyway I propose this because it appears more convenient.As far as I understand, currently
ref.listen
works as follows:ref.listen
is called, iffireImmediately: true
.I believe it would be more convenient if it operated as follows:
ref.listen
first.ref.listen
again (by refresh) in the same provider, and listened provider didn't change.So request for comments.
Beta Was this translation helpful? Give feedback.
All reactions