-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
AppNavigator.router undefined/props should be defined errors in V4 #1999
Labels
Comments
I believe this is the same issue or related to my issue as well, something to so with the redux integration - #1998 |
|
@aksonov, thank you, you are a hero. Problem resolved by:
Correct router config:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm upgrading from v3 to v4, and I'm having two issues with my router:
[react-native-router-flux] props should be defined
error. Which is strange, since I know my props are defined.login
scene changes the issue toundefined is not an object (evaluating AppNavigator.router)
My current router:
I've read through the docs, and it seems like this should work as is. I've also tried removing components/props that might be gumming things up. I.e. I removed all of the tabs, and the scenes that have fancy arguments like
onBack
. I still get theprops should be defined
error.I am currently running react-native 0.45.1. Any sense of what could be causing this?
The text was updated successfully, but these errors were encountered: