Rules
no-redundant-should-component-update
Full Name in eslint-plugin-react-x
Full Name in @eslint-react/eslint-plugin
Features
🔍
Presets
core
recommended
recommended-typescript
recommended-type-checked
What it does
Prevents usage of shouldComponentUpdate
when extending React.PureComponent
.
While having shouldComponentUpdate
will still work, it becomes pointless to extend React.PureComponent
.