When a store change triggers a component function, the current component state is ignored/reset, not letting me use its state data to feed the triggered funct