Skip to content

Stack navigator for each tab code example warning #1230

Description

@Illu

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?

Activity

  1. SD191100 commented on Jun 23, 2023

    @SD191100

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

  2. panditakshay402 commented on Jul 4, 2024

    @panditakshay402

    @Illu can you assign me this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions