New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react/no-unused-state doesn't detect usage of this.state
as an object
#1572
Comments
thx ! |
This was referenced Jan 26, 2018
This was referenced Sep 22, 2018
Open
1 task
This was referenced Nov 7, 2018
This was referenced Nov 23, 2018
1 task
1 task
This was referenced Dec 21, 2018
This was referenced Jan 2, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is an example:
classNames
is the excellent classnames package.Notice the use of
this.state
directly as a parameter to theclassNames
call. As a result, the rulereact/no-unused-state
doesn't detect we use some of the state properties and output an error.The text was updated successfully, but these errors were encountered: