The Stack Navigator

Interact with the code editor in this lesson to learn about the Stack Navigator.

Let’s implement the Stack Navigator.

Important terms to know

  • createNativeStackNavigator: We’ll use this function to create two properties—Screen and Navigator. These help us create the StackNavigator.

  • NavigationContainer: This is a wrapper component that wraps around the navigators used to manage our different navigators. It is usually used in the root component of our application (App.js).

Get hands-on with 1200+ tech skills courses.