Skip to content

Implement Rules/Concepts for React Best Practices #13

@SebastianWendorf

Description

@SebastianWendorf

Inspiration:
https://www.perssondennis.com/articles/react-anti-patterns-and-best-practices-dos-and-donts

Features/Concepts needed:

  • React Components (only functional kind for now)
    • variable declarations within component functions (name, type) -> requires destructure assignment support
    • function declarations within component functions (for standard callback function vs. useCallback result)
    • hook calls (with potential custom behavior)
      • useEffect -> register dependencies of callback function to other local variables

-> General scan of nested functions and instructional code?

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