Summary
In this chapter, you learned that mobile applications require navigation, just like web applications do. Although different, web application and mobile application navigation have enough conceptual similarities that mobile app routing and navigation don't have to be a nuisance.
Older versions of React Native made attempts to provide components to help manage navigation within mobile apps, but these never really took hold. Instead, the React Native community has dominated this area. One example of this is the react-navigation
library, the focus of this chapter.
You learned how basic navigation works with react-navigation
. You then learned how to control header components within the navigation bar. Next, you learned about tab and drawer navigation. These two navigation components can automatically render the navigation buttons for your app based on the screen components.
In the next chapter, you'll learn how to render lists of data.