Skip to content

Best practices #8

@sofiapoh

Description

@sofiapoh

https://github.com/fac-12/Lex/blob/3f591db5c8a96556abc357c622929633afc5adf3/src/components/App.js#L49

Generally it's clearest if the actual render is the last method in the class since that is the derived result of all the data wrangling and state changing. Also, you're calling renderInside in render so it should be defined before.

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