Skip to content

Tab not updating properly when state changes dynamically #584

@ritikkumar8z

Description

@ritikkumar8z

Hi team 👋,

I’m using react-tabs and noticed that when I update the tab index based on a dynamic state (like from an API or async action), sometimes the active tab doesn’t switch as expected.

Is there a recommended way to handle dynamic tab switching with updated state?

Thanks for the great package — really helpful in many projects! 🙌

— Ritik Kumar

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