Skip to content

Enhancement for redux support? #159

@andrewmtam

Description

@andrewmtam

Any chance we can update things to work with redux?

Currently the onClick events will always update the internal active state, and passing the initial 'selectedIndex' prop is only used for the initial render.

Would it be possible to make 'selectedIndex' drive the whole tab system? We could use hooks for onClick and onKeyUp to do something ( e.g. dispatch actions ) to pass a new value for 'selectedIndex'?

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