Skip to content

Suggestion: Shorten componentDidMount() #30

@tomduggan85

Description

@tomduggan85

componentDidMount() {

componentDidMount() is a pretty long function here, it might help if you moved some parts of this into helper functions. Also, componentDidMount() can be async, so you could make it async and use await for the getData calls.

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