Content-Length: 297002 | pFad | https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/128

34 sort-comp: statics out of lifecycle? · Issue #128 · jsx-eslint/eslint-plugin-react · GitHub
Skip to content

sort-comp: statics out of lifecycle? #128

@tleunen

Description

@tleunen

https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-comp.md

I think it would make sense to put the statics out of the lifecycle and put them in the order structure. Usually, you put the static variables at the top of your class, then your constructor and then the lifecycle functions.

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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/128

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy