Skip to content

False positives for react/display-name in HOF returning null #3346

Closed
@jxm-math

Description

@jxm-math

Any of these constructs are incorrectly identified as Components:

any = () => () => null
{ any: () => () => null }
any = function() {return function() {return null;};}
{ any: function() {return function() {return null;};} }

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