function mapStateToProps (state) {
  return {
    deviceVersion: state.device.version
  }
}
Instead of including all app states via ...state
 You probably want to explicitly enumerate only those which Main.js will depend on.