text: import React, { Component } from 'react'
  import { View, StatusBar } from 'react-native'
  import ReduxNavigation from '../Navigation/ReduxNavigation'
  import { connect } from 'react-redux'
  import StartupActions from '../Redux/StartupRedux'
  import ReduxPersist from '../Config/ReduxPersist'
  
  // Styles
  import styles from './Styles/RootContainerStyles'
  console.ignoredYellowBox = ['Remote debugger'];
  
  class RootContainer extends Component {
    componentDidMount () {
      // if redux persist is not active fire startup action
      if (!ReduxPersist.active) {
        this.props.startup()
      }
    }
  
    render () {
      return (
        <View style={styles.applicationView}>
          <StatusBar barStyle='dark-content' />
          <ReduxNavigation />
        </View>
      )
    }
  }
  
  // wraps dispatch to create nicer functions to call within our component
  const mapDispatchToProps = (dispatch) => ({
    startup: () => dispatch(StartupActions.startup())
  })
  
  export default connect(null, mapDispatchToProps)(RootContainer)
  