Navigation.pptx - Navigation in React Native Introduction React Navigation's stack navigator provides a way for your app to transition between screens

Navigation.pptx - Navigation in React Native Introduction...

This preview shows page 1 - 5 out of 11 pages.

Navigation in React Native
Image of page 1
Introduction React Navigation's stack navigator provides a way for your app to transition between screens and manage navigation history. If your app uses only one stack navigator then it is conceptually similar to how a web browser handles navigation state - your app pushes and pops items from the navigation stack as users interact with it, and this results in the user seeing different screens. A key difference between how this works in a web browser and in React Navigation is that React Navigation's stack navigator provides the gestures and animations that you would expect on Android and iOS when navigating between routes in the stack.
Image of page 2
Stack Navigator Screens are rendered and placed on top of the other as stack. Before continuing, first install npm install react-navigation in your project.
Image of page 3
Creating a Stack Navigator createStackNavigator is a function that returns a React component. It takes a route configuration object and, optionally, an options object.
Image of page 4
Image of page 5

You've reached the end of your free preview.

Want to read all 11 pages?

  • Fall '19
  • Web browser, Navigator, first IMPORT, React Navigation

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes