-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Navigator] Navigator vs. NavigatorIOS please fix docs #1219
Comments
👍 |
@soheil - aw man, sorry to hear that. Which animations are you having trouble with? When you say they don't feel native, is it because they feel janky or just don't seem like they are the correct animations?
I believe that by reading the docs for each it is not too difficult to determine the differences, but agree that it might be useful to have a sentence at the top explaining how they relate to each other. Notice how with Would a description like the above help to have in the documentation? Or would there need to be more information? As for passProps, this is all done with |
I feel like there was some way to add custom stuff to a basic nav bar when I was doing a little true native dev- would this be at all worth adding or is the functionality too hobbled? |
@jtremback - |
I can set leftBarButtonItem from JS? |
@jtremback - you can set the |
Doc no good |
+1 the documentation needs to be clearer. PS good work guys so far.. |
I was about to open a similar PR and found this, so 👍 @soheil
I would even go further and suggest adding a new page in the docs that compares between |
^ +1 |
Thanks for the 👍's folks, helps me to prioritize this |
+1 |
+1 |
+1, thanks! |
+1 and thanks for the info in this issue, makes it much more clear 👍 |
+1 I am using the REACT-NATIVE-SIDE-MENU module in Scene 2, and do not know how to have the Bar Button Item access this component... |
@brentvatne The animation of Navigator feels really janky and the animation is not identical to the NavigatorIOS. The interpolator of Navigator module should be "RightToLeft" if I remember correctly. |
sorry I stopped using react native On Sun, Jun 7, 2015 at 8:31 PM, fxwan notifications@github.com wrote:
|
I haven't had much time for this recently but should get around to fixing up a bunch of docs this week. Additionally, to better reflect Facebook's priorities the idea is to move NavigatorIOS to an OSSLibraries folder and outside of the internal sync process which will allow us (the OSS community) to iterate on it more quickly. |
From what I understand, the two drawbacks Fortunately even the two drawbacks as mentioned can theoretically be fixed. Apple provides a EdgeSwipe UIGestureRecognizer that can be used/enabled on Navigator, to get fluid swipe to go back animation. Also JS driven animations will definitely get better as the RN team is working/exploring it very deeply. |
+1 |
Done: https://facebook.github.io/react-native/docs/navigator-comparison.html (just pushed, should be up within a few minutes) |
@brentvatne cool! links broken though. ;) |
That's github being too clever. Try this: https://facebook.github.io/react-native/docs/navigator-comparison.html |
This is very nice, thanks @brentvatne! I have a thought, should we move all the stuff that is going to move out of React Native core, like |
@paramaggarwal - if we can come up with a name that communicates that these libraries are considered not part of the core and not actively maintained by the core team, that would be nice 😄 let's get them moved into an |
@brentvatne amazing work - thanks!
@paramaggarwal I agree - I think people should know which component is more supported. |
+1 ,thanks |
Someone should update this doc; how is one supposed to know the difference between Navigator and NavigatorIOS?
http://facebook.github.io/react-native/docs/navigator.html#content
It should be noted Navigator uses JS animations and that you cannot pass
props
in the same way as NavigatorIOS. I modified my entire app only to find out that Navigator is not what I want because the animations suck and don't feel native!Also explain exactly why they are two different components, this should be in bold on top of both their doc pages. I'm yet to know the logic behind having two different ones.
The text was updated successfully, but these errors were encountered: