Chapter 15. Navigating Between Screens

Routing is an essential part of any React web application. Without a router, the pages that correspond to URLs would be impossible to manage, making your application impossible to scale. React Native applications don't have URLs that map to pages, but you can implement navigation that's conceptually similar to routing URLs to pages.

We'll get started by thinking about how to divide a mobile application into screens and introduce the common terminology that's used with React Native navigation. Then we'll walk through several examples that demonstrate the navigational abilities of React Native.

Screen organization

Thinking in terms of screens is easy in web applications because you have a URL that points to each ...

Get React and React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.