title: How to set a default screen Route in react Tab Navigation in React Native
body: <p>I want to load dashboard to be active tab in react Native bottom tab. Navigation whenever dashboard is loaded but whenever I move to dashboard it moves to inbox screen which is the first element in my react Bottom Tab Navigation. Is there any way to create a default screen whenever screen bottom tabs is used?</p>
  
  <p>The code I am using for bottom navigation is</p>
  
  <pre><code> dashboard: {
          screen: createBottomTabNavigator({
              inbox: {
                  screen: Chat,
                  navigationOptions: ({ navigation }) =&gt; ({
                      title: 'Inbox',
                  }),
              },
              favourite: {
                  screen: Favourite,
                  navigationOptions: ({ navigation }) =&gt; ({
                      title: 'Favourite',
                  }),
              },
              dashboard: {
                  screen: Dashboard,
                  navigationOptions: ({ navigation }) =&gt; ({
                      title: 'Home',
                      initialRouteName: 'dashboard'
                  }),
              },
              setting: {
                  screen: SettingScreen,
                  navigationOptions: ({ navigation }) =&gt; ({
                      title: 'Setting',
                  }),
              },
              survey: {
                  screen: NutritionistSurvey,
                  navigationOptions: ({ navigation }) =&gt; ({
                      title: 'Survey',
                  }),
              },
          }),
          navigationOptions: ({ navigation }) =&gt; ({
              title: 'Dashboard',
  
          }),
  
  
      },
  </code></pre>
  
  <p>Even though the navigation works completely fine I just need a way to load dashboard screen whenever the user navigates to Dashboard.</p>