Grokking React Native
0% completed
Modal Screens and Deep Links
How does a terms page slide up over the current screen, and how does a link in an email open one product in an app that is not running? Both use the navigators you already know, with a little more configuration. The sliding page needs one extra option on a stack screen, and the link needs a table that you pass to NavigationContainer.
Showing a Modal Screen
A modal is a screen that temporarily blocks the main view, such as terms and conditions or a confirmation. In a stack, it is an ordinary screen with one extra option. These are the parts to add to a stack that has a Home screen:
``
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%