Nesing Navigators result in infinite loop
react-native version: 0.48.3 react-native-cli: 2.0.1
i rendered a StackNavigator as the top-level navigator and i need nest a Tabnavigator. But it crashed because of a infinite loop: " Cannot read propery 'forEach' of undefined", no matter i nesting tabNavigator in a Component or in a screen. and it works perfect if i take off the react-navigation-addons, so i m sure it was the addons .
btw: at first when i was new to ReacNavigation, i didn't config the nesting navigator properly ,LOL.
i nest a TabNavigator in a component directly without passing navigation as props and set the router to overridden the wrappingComponentScreen's router.
like this:
<View><MainScreenTabNavigator /></View>
and the child tab ** will be rendered twice .**
anyway, it leads me to find the issue at last. lol
+1