Route-centric navigation for React Native
ExNavigation is a route-centric navigation library designed for Expo and React Native that seamlessly operates on both Android and iOS platforms. It offers a variety of features such as Android back button handling, tab bar navigation, drawer navigation, sliding tab navigation, alert bars, and declarative configuration alongside routes.
To install ExNavigation, ensure your React Native version is >=0.36.0. Use the following npm command:
npm i @expo/ex-navigation babel-preset-react-native-stage-0 --save
Update your .babelrc file with the necessary preset. For more detailed documentation and examples, refer to the example project in the example/ directory.
To run the example project, navigate to the example directory, install dependencies with npm install, and open the project using the Expo client or XDE. Alternatively, access the project on your mobile device via the provided Expo link.
ExNavigation is a versatile navigation library for Expo and React Native that simplifies route-centric navigation on Android and iOS platforms. With its user-friendly features like tab bar navigation, drawer navigation, and alert bars, developers can enhance the navigation experience of their applications. Additionally, ExNavigation’s compatibility with Flow for type checking ensures a more robust and reliable coding environment.