- What's the main difference between navigation in React web apps and React Native apps?
- Web applications rely on URLs as the central concept for moving around. Native apps have no such concept, so it's up to the developer and the navigation libs they use to manage their screens.
- What function should be used to navigate to a new screen?
- Screen components are passed a navigation property. You should use navigation.navigate() to move to another screen.
- Does react-navigation handle back button functionality for you?
- Yes. Including the built-in back button on Android systems.
- How do you pass data to screens?
- You can pass a plain object as the second argument to navigation.navigate(). The properties are then accessible to the screen via navigation.getParam().