In React Native you utilize the NavigatorIOS component in order to implement routing. In this tutorial, we'll walk through the app we'll be building in this series as well as how to add routing to your app.
Even though you just copy the styles, it would be nice to talk a little bit about the StyleSheet as it can help others, who like me, prefer to write all the code. When I first implemented the routing, since neither of my elements had style of flex: 1 I was not able to see the sentence "Testing the router" as it was hidden by the title of the route
Maybe worth mentioning NavigatorIOS is neither supported nor recommended by the React Native team. Instead Navigator component is recommended see [[https://facebook.github.io/react-native/docs/navigator-comparison.html]]
If anyone doesn't see their component show up, check this link out, seems to be a bug with NavigatorIOS and the latest React Native release.
Hi guys, I got a issue when try to make it works (I have googled, no proper answer) ...
Here is my error message, Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of NavigatorIOS
please help me, thx guys