Skip to content

Yuddomack/react-native-stack-tab-stack-navigation-structure

Repository files navigation

react-native-stack-tab-stack-navigation-structure

a simple navigation structure for react native.

  1. Login
  2. Tab Navigator
  3. Setting(logout) -> Login

Required

* react-navigation
  • refer to the installation document
  • check your react-native version (React Native 0.60 and higher / React Native 0.59 and lower)

Structure

src
└── screens
    ├── HomeScreen
    ├── LoginScreen
    ├── SettingScreen
    ├── SomethingScreen
    └── index.js (AppContainer for react navigation)

1. Login -> Tab Navigator

2. Tab Navigator

3. Stack Navigator in Tab Navigator

4. Tab Navigator -> Login