Tutorial React Navigation React Native
Getting started The Fundamentals section covers the most important aspects of React Navigation. It should be enough to build a typical mobile application and give you the background to dive deeper into the more advanced topics. Minimum requirements react-native >= 0.72.0 expo >= 52 (if you use Expo Go) typescript >= 5.0.0 (if you use TypeScript) Installation The @react-navigation/native package contains the core functionality of React Navigation. In your project directory, run: npm install @react-navigation/native Installing dependencies Next, install the dependencies used by most navigators: react-native-screens and react-native-safe-area-context. In your project directory, run: npm install react-native-screens react-native-safe-area-context If you're on a Mac and developing for iOS, install the pods via Cocoapods to complete the linking: npx pod-install ios Configuring react-native-screens on Android react-native-screens requires one additional configuration to properl...