Better Navigator API and docs
Is this the intended way to use the Navigator API? https://github.com/h87kg/NavigatorDemo/blob/master/index.ios.js
The first thing I'm faced with when I google "react native navigation" is Navigator and NavigatorIOS. Which one should I use? Okay, one wraps UIKit's implementation and one is more cross platform - I choose the more generic Navigator.
Now these docs (https://facebook.github.io/react-native/docs/navigator.html) don't give an example of how to do navigation. I end up doing more googling and find the link at the top of this post. It seems lame to just have a ton of if statements. I suppose it could be done with a map though.
Can we have an awesome, pretty, easy, well-documented API like react-router? :)
marked this post as