Routing in React Native

 

Syed Saad Qamar
Software Engineer

/SyedSaadQamar96

/in/syed-saad-qamar

/saadqamar01

/saadqamar96

  • We are using React Navigation 5 for routing (will see simple routing)

Road map of today's session

  • We will build an App which has Drawer, Bottom Tabs and Tabs has nested routing
  • Discuss the slow navigation issue

In First example will look

1.1 What is stack navigation? with example

1.2 How to pass data/params to other screen

1.3 Make custom Header for single and all screen

Let's jump into the code

Let's move to the final example

  • Add drawer
  • Add tabs
  • Make Stack in tabs

But why is it SLOW?

Answer is here

https://github.com/react-navigation/react-navigation/issues/5990#issuecomment-646991105

Any Question???

Made with Slides.com