Containers implement handler functions (which call actions). These handler functions are passed to components via arguments. This has a benefit of reusing the business logic in handler functions when you implement different UIs (ex react native). There is not supposed to be a repetition.

Hacker and into fitness and adventure. Leads a simple life and does not try to fit in too much. :-)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store