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
I have a use case, where is seems like a combination of read and select would be nice. Or maybe there is another way I'm not aware of.
I basically want to bind a callback when the property on some provided model changes, but I don't want to trigger a rebuild, instead I just want to do something.
In this case, if my open SearchPanel, notices that AppModel.currentPage has changed, I would like the SearchPanel to call close itself.
I'm not sure how to set that up with Provider, short of doing something like this:
I have a use case, where is seems like a combination of read and select would be nice. Or maybe there is another way I'm not aware of.
I basically want to bind a callback when the property on some provided model changes, but I don't want to trigger a rebuild, instead I just want to do something.
In this case, if my open SearchPanel, notices that AppModel.currentPage has changed, I would like the SearchPanel to call close itself.
I'm not sure how to set that up with Provider, short of doing something like this:
Something like this would be pretty handy:
The text was updated successfully, but these errors were encountered: