Skip to content

[Maintainment] Convert all function to components #166

@JamirLeal

Description

@JamirLeal

If function component (Hooks) does not use "this" keyword then convert it to ES6 arrow function.
Instead of function componentName() { }
Use const componentName = () => { }

  • If component is only render then use const componentName = () => ()

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