react-native-router-flux: this.props.navigationState is undefined

https://github.com/aksonov/react-native-router-flux/blob/master/docs/OTHER_INFO.md#drawer-side-menu-integration

<Scene
  key='main'
  component={ MainScreen }
  hideNavBar={ true }
  type='reset'
  tabs={ true }
>
  <Scene
    key='contacts'
    component={ ContactsView }
    initial={ true }
  />
  <Scene
    key='projects'
    component={ ProjectsView }
  />
</Scene>

Inside MainScreen#render() this.props.navigationState is undefined, why?

rnrf: 4.0.0-beta.6

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (6 by maintainers)

Most upvoted comments

I have updated with RN-v0.59.8 and I am also not getting children key, can you please tell me how we can achieve that ?