You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: