You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the reduction below based on production code, the eslint-plugin-react-redux has these false positives:
5:13 error 'maxItems' PropType is defined but prop is never used react-redux/no-unused-prop-types
7:27 error 'itemOpacityOutputRange' PropType is defined but prop is never used react-redux/no-unused-prop-types
8:27 error 'textOpacityOutputRange' PropType is defined but prop is never used react-redux/no-unused-prop-types
Maintainers of eslint-plugin-react generally suggest to not pass generic prop object to helper functions like computeStateFromProps in your case, but destructure props in the constructor, thus their usage will be detected correctly.
With the reduction below based on production code, the eslint-plugin-react-redux has these false positives:
The code in question:
The text was updated successfully, but these errors were encountered: