I am working on an app where I use StoreConnectors heavily, I started noticing that the builder callback is being called - sometimes more than once - even if I don't make any changes to the state.
This happens when I for example open/close a Drawer or change focus between TextFields.
All my StoreConnectors are set to distinct=true and view models correctly implement operator == and hashCode
and really if the vms don't change then onDidChange is not fired.
I just don't understand why all those StoreConnectors keep firing their builders on every small user interaction.
Would be appreciated if anyone can help me understand why is this happening
I am working on an app where I use StoreConnectors heavily, I started noticing that the
buildercallback is being called - sometimes more than once - even if I don't make any changes to the state.This happens when I for example open/close a Drawer or change focus between TextFields.
All my StoreConnectors are set to
distinct=trueand view models correctly implement operator == and hashCodeand really if the vms don't change then onDidChange is not fired.
I just don't understand why all those StoreConnectors keep firing their builders on every small user interaction.
Would be appreciated if anyone can help me understand why is this happening