Skip to content

Possible migration to function components? #56

@rsilivestr

Description

@rsilivestr

FCs are modern and recommended way to write React. Prototyped implementation is more concise and bundle is smaller by around 2.2 kB (7.1 vs 9.3).

There is a downside - raising minimal required React version to 16.8.0 (which introduced hooks).

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