Using react-native-tab-view with react-native-router-flux

I'm using react-native-tab-view as my main app container in which I have different components and nested tabs as well. However I wanted to use react-native-router-flux for navigation. I currently have the setup like so:

  <Router>
    <Scene key='root'>
      <Scene hideNavBar  key='home' component={ReactNativeTabViewContainer}
       tabs ={true} initial={true} />
    </Scene>
  </Router>

But Right now the react-native-router-flux only sees a single route. How can I track the nav changes inside the React-native-tab-view and add those nav state to the main route state stored in redux.

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

flutter websocket connection issue