Skip to content

Switching between classes and hooks in Code snippets #3009

Description

@madzadev

Currently most of the code snippets in official docs are written in classes.
I'm learning React hooks and would like to see examples more functional oriented.

Since you are planning to continue to support classes in the future, a switch option between classes and hooks in each code snippet in official docs would be nice.

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