Skip to content
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

RN 0.47 #2

Open
pdavid0 opened this issue Aug 8, 2017 · 4 comments
Open

RN 0.47 #2

pdavid0 opened this issue Aug 8, 2017 · 4 comments

Comments

@pdavid0
Copy link

pdavid0 commented Aug 8, 2017

bundling failed: "Unable to resolve module `react/lib/ReactComponentWithPureRenderMixin`
@leifdenby
Copy link
Owner

I think this issue is related to your react native setup, this library doesn't import that module. I would try reinstalling react native

@pdavid0
Copy link
Author

pdavid0 commented Aug 10, 2017

hmm ok ...? I don't see why react-native would be wrongly installed by yarn/npm but I will give it a try.

Thanks

@pdavid0
Copy link
Author

pdavid0 commented Aug 17, 2017

So, after a lot of test .. react-native 0.47 packager still whines about

error: bundling failed: "Unable to resolve module `react-addons-pure-render-mixin` 
from `./node_modules/react-native-router-flux-focus-hook/node_modules/react-native-router-flux/src/DefaultRenderer.js`

Because you have a dependency on router-flux@3.37.0 and I switched to router-flux@4.0.0-beta.18

The question is : is your hook still relevant with version ^4.X of router-flux ?

@gscanlon21
Copy link

I had the same issue when upgrading to v4 of react-native-router-flux. But the scenes for v4 now have onEnter and onExit handlers that get called when navigating to/from scenes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants