App crashing on start
ekanshoyo opened this issue · comments
Hey! Just cloned master branch and ran the app for the first time it's throwing error:-
TypeError: undefined is not a function (evaluating 'e')
Any idea what's this about.
Seems to be an issue with the updated version of React-Navigation
As @dihan pointed out. react-navigation went through a ton of changes recently. A few article writers released redux/react-navigation posts as react-navigation was in beta (as denoted by the -beta
flag on the version).
To get this working, version-lock it.
Remove the ^
on
redux-react-navigation-demos/package.json
Line 12 in 3ab7253
That said, these tutorials are pretty useless now unless you plan on learning incorrect stuff or version locking yourself at that beta release forever. FeelsBadMan.
@corysimmons Damn. I was really trying to integrate redux with my navigation. Have you found any workaround for this?
@MatheusParanhos https://reactnavigation.org/docs/redux-integration.html works but it's a pain to actually maintain.
I highly suggest you think twice about why you're using Redux with ReactNavigation, and if you can get away with not doing it, since there doesn't seem to be any elegant way to do React nav with Redux.