react-navigation.github.io icon indicating copy to clipboard operation
react-navigation.github.io copied to clipboard

Stack navigator for each tab code example warning

Open Illu opened this issue 2 years ago • 2 comments

When running on a bare react-native project, the stack navigator for each tab code example triggers the following warning:

Found screens with the same name nested inside one another. Check:

Home, Home > Home

A similar warning is displayed when switching to the "Settings" tab.

Should the name prop of each Tab.Screen change to avoid this warning?

Illu avatar Apr 11 '23 15:04 Illu

I am a beginner in react-navigation as well but I think you should use unique names for your screens/tabs... try doing that

SD191100 avatar Jun 23 '23 21:06 SD191100

@Illu can you assign me this!

panditakshay402 avatar Jul 04 '24 09:07 panditakshay402