-
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
Actions.create + redux + connect state = Red screen #2856
Comments
Hi, any news on this? :/ I have the same error after upgrading from beta 23 to 28... |
@avencat is it working on beta 23 ? and any solution please tell me |
hy @coolmic, can give any solution or workaround? |
@prudhvir3ddy yes it's working on beta 23! ;) |
React-navigation will stop supporting redux in the near future.
I decided to refactor my app, so it doesn't use redux for navigation. |
Version
Tell us which versions you are using:
Expected behaviour
Use Action.create to create a NavigationContainer.
Then connect it to redux
It works very well in RNRF 4.0.0-beta.23
Actual behaviour
Red screen with this message :
Steps to reproduce
I have something like
I found the problem
In https://github.com/aksonov/react-native-router-flux/blob/master/src/Router.js#L89 ,
you use
uriPrefix={uriPrefix}
(added in 8485389#diff-88682cc47d1e91a07a52d4b73c5828a3 ).It conflict with https://github.com/react-navigation/react-navigation/blob/master/src/createNavigationContainer.js#L43-L57
because containerProps is now equals to { uriPrefix: undefined }.
if you remove the uriPrefix, the application works without issue.
The text was updated successfully, but these errors were encountered: