-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Rule proposal: no-useless-scu #985
Comments
It's worth noting that I think it will actually work - it just means there's no point in it extending PureComponent then. I'm 👍 on this rule. |
I'll take a look at this rule, since it was just recently requested again in #1217 It looks pretty easy to add:
Probably will need some help with the actual rule name and errors + docs. I suppose |
Nevermind. There is a PR already. Missed it. |
Fixed via #1084. |
shouldComponentUpdate
method is useless when component extendingPureComponent
.The text was updated successfully, but these errors were encountered: