After check the React Native documentation, I still don't understand the best way to create views and navigate between different components.
I don't want to use any external components like:
I don't need a Navigation bar, i just want to set views and slide left, right o pop a view, nothing more.
I know is something basic, but I can't find any helpful example.
Please, anyone can help me? Any functional example in https://rnplay.org/?
Watch this example : https://github.com/h87kg/NavigatorDemo
It's usefull and a good writing Navigator example, better than the above example your just wrote i really think.
Mainly watch the relation beetween LoginPage.js and MainPage.js