Skip to content

no-unused-prop-types - cannot detect usage within componentWillReceiveProps #884

@ctumolosus

Description

@ctumolosus

I have a component where I'm only referencing a prop within componentWillReceiveProps(nextProps) and react/no-unused-prop-types is not picking it up.
It's probably a bad practice that I need to revisit on my end, but wondering if you guys think it's something the rule should handle.

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