Skip to content

Migrate React recipes to hooks #589

Closed
@nickserv

Description

@nickserv

Is your feature request related to a problem? Please describe.
Function components with hooks are now officially recommended over class components by React.

Describe the solution you'd like
Replace old patterns like connect, withRouter, other HoCs, and class components with hooks.

Additional context
Related to #570 (overall discussion on docs)

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