Skip to content

Refactor components to use React Redux hooks to access store #1274

Open
@Aulud

Description

@Aulud

Refactor components to use React hooks to access Redux store

Code quality suggestion.

Rationale

Refactor existing function components to allow them to subscribe to the Redux store and dispatch actions using React Redux hook APIs - this avoids boilerplate associated with the connect() container HOCs.

Reference for implementation: Redux hooks documentation

Last updated 17 Jun 2020, 10:15PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature request_refactorimportantFixing this is important, but not mission-critical

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions