How brunnohofmann/react-native-left-and-right-navigator works
Project type and purpose
• This is a React Native mobile application demonstrating a Left and Right Drawer Navigator pattern.
• It targets both Android and iOS platforms and has no backend service—it’s purely a client-side app using Redux for state management and React Navigation for routing.
File structure
• Top-level native folders:
• android/ (Gradle-based Android project)
• ios/ (Xcode workspace and projects for iOS and tvOS)
• JS entry points and configuration:
• index.js → App registration
• App.js → root component, wraps NavigationContainer and Redux Provider
• metro.config.js, babel.config.js → bundler/transpiler configs
• Source code under src/:
• src/routes/ → drawer and stack navigator definitions (LeftDrawer.js, RightDrawer.js, MainStack.js, MainNavigator.js)
• src/screens/ → screen components (Home.js, Users.js)
• src/redux/ → Redux “duck” modules, actions.js, types.js, configureStore.js
• src/assets/ → styles, images, other static assets
• Tests under __tests__ for unit tests of core components
README for additional insights
• The README confirms the goal: implement two drawer navigators.