Clarification on nav linking

Expo starts with navigation linking config like this:


      Root: {
        screens: {
          TabOne: {
            screens: {
              TabOneScreen: 'one',
            },
          },
          TabTwo: {
            screens: {
              TabTwoScreen: 'two',
            },
          },
        },
      },

Why is it like that? Is that different than just using:


      Root: {
        screens: {
          TabOneScreen: 'one',
          TabTwoScreen: 'two',
        },
      },```

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.