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

[Error] The sources for assing MUST be an object. #2266

Closed
andreecosta opened this issue Aug 18, 2017 · 3 comments
Closed

[Error] The sources for assing MUST be an object. #2266

andreecosta opened this issue Aug 18, 2017 · 3 comments

Comments

@andreecosta
Copy link

Hey,

I was using react-navigation, but it is full of bugs and it lacks alot of functionality, so I decided to give router-flux a try.
After changing react-navigation code with router-flux, I get this error when I try to run the app:

http://imgur.com/a/kxrwp

I have no idea why I'm getting this error. I've tried running the example app and it works perfectly, so it must be something on my app, but I have no idea what.

@aksonov
Copy link
Owner

aksonov commented Aug 21, 2017

Sorry, it is impossible to say something without code. Please fork & modify Example to reproduce issue.

@andreecosta
Copy link
Author

@aksonov I've added one screen at a time and it worked :) but unfortunetly the lib won't solve the problem I was having... I thought It was a problem with react-navigation, but I guess not.

Everytime I rotate the device, on a child screen, the transition is not smooth at all. Only on parent screens re-renders smoothly. This is the problem I'm having: https://vid.me/hhE3A

I know it's not related with this library, but I'm hoping that someone knows how to fix it.

@aksonov
Copy link
Owner

aksonov commented Aug 21, 2017

Sorry, can't help here. RNRF doesn't do any transition, it is job of react-navigation (for v4). So create issue at react-navigation github (but create pure react-navigation demo before). Make sure that you don't do any processing during device rotation.

@aksonov aksonov closed this as completed Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants