Skip to content

ui: convert remaining class components to hooks #923

@mastercactapus

Description

@mastercactapus

This is an issue to track progress on converting the remaining class components to React hooks.

They should be converted in javascript for review purposes (continue to use PropTypes). A separate issue will be created for converting to typescript if needed.

Decorators should also be removed. There is usually a corresponding hook to achieve the same functionality.
For example, a class component using @withWidth and props.width can be written as a functional component that uses const width = useWidth()

Please keep PR size small, and run tests locally, to help speed up reviews.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions