New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested Navigators in Redux #16
Comments
So this should actually just work out of the box, and here's why: Because ModalRouter is your app's main router, so it is the only reducer you need. You don't need to attach TabNavigator to redux manually. Closing for now but please re-open if you run into issues with this approach |
Looks like its working, thanks! |
* Add clarification for Redux <-> Nested Navigators See also react-navigation/react-navigation#16 * Update per comments * Update per comments in PR #26
Closes #16 When the statusbar is not translucent, the view resizes when the keyboard is shown on Android. The tab bar stays above the keyboard. This PR makes the tab bar hide automatically when the keyboard is shown. The behaviour is enabled by default and can be disabled with `keyboardHidesTabBar: false` in `tabBarOptions`
* Add clarification for Redux <-> Nested Navigators See also react-navigation#16 * Update per comments * Update per comments in PR react-navigation#26
* Add clarification for Redux <-> Nested Navigators See also react-navigation/react-navigation#16 * Update per comments * Update per comments in PR #26
Move RNGH to peerDependencies
Hello,
I'm trying to set up a TabNavigator inside a StackedNavigator, sort of like this:
My issue is, since I'm using Redux, I can pass the outer StackedNavigator the nav state easily enough:
But I don't know how to pass the TabNavigator's state down to it. I'm assuming right now I'm going to have to wrap it in another component and get my other navigation state, but is there another/simpler way?
My reducer is:
The text was updated successfully, but these errors were encountered: