Especially when using with redux, almost all of our components should be "dumb" -- that is, just take props and construct a DOM fragment. This includes handlers and the like, where our main container/app passes in all handlers necessary into its children components. This also will lead to easier testing due to having control over the props passed in, but also minimize the area in which we directly access electron methods in components.
Extra reading: https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0#.8e28rxk9a
Especially when using with redux, almost all of our components should be "dumb" -- that is, just take props and construct a DOM fragment. This includes handlers and the like, where our main container/app passes in all handlers necessary into its children components. This also will lead to easier testing due to having control over the props passed in, but also minimize the area in which we directly access electron methods in components.