Summary
In this chapter, you learned that mobile applications require navigation, just like web applications do. Although they are 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 attempted to provide components to help manage navigation within mobile apps, but they 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 the tab
and drawer
navigation components. These two navigation components can automatically render the navigation buttons for your app based on the screen components. You also learned how to work with the file-based Expo Router.
In the...