Setup a StackNavigator as a Modal in React Navigation

Share this video with your friends

Send Tweet

In this lesson you will learn how to configure a StackNavigator to display its content as a modal that overlays any existing navigation structure in your application. We will accomplish this by using the StackNavigator’s configuration object and leveraging the mode and headerMode options.

Arash
Arash
~ 6 years ago

Will future videos cover 2.0 react navigation?

David Moore
David Moore
~ 6 years ago

Should StackNavigator be replaced with createStackNavigator?

Spencer Carli
Spencer Carli(instructor)
~ 6 years ago

The examples on GitHub use V2 of React Navigation. The videos for this course were created before V2 was released. All of the same concepts/strategies apply just StackNavigator has become createStackNavigator

Jimmy Nordbeck
Jimmy Nordbeck
~ 6 years ago

Please update the repository. Trying to make it run on latest version of Expo (32.0.3), but end up with an endless series of upgrade and compatibility problems. I'm sure someone savvier can fix it, but anyway I don't think paying subscribers should have to go through that hassle to follow the courses here at egghead.