A few weeks ago I come with the following question:
When creating a Container (using the connect in a component of view to which you want to put a logic using redux) for example a HeaderContainer that has a button that calls a dispatch to do something, if I combine it with StackNavigator and I move between screens which each one has its HeaderContainer when clicking on the button, the number of times that there are views in the stack is "tripped" (one dispatch should be done, but as the other views did not finish their cycle). component life and they are on the stack this happens). Do you have any idea how to solve this so that this does not happen?
These would be the HeaderContainer of each screen
When you click, several dispatches are launched
This is a specific case but it happens to me with all the containers as I go stacking views in the stack of the navigation.