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
On our team, we want to ensure all components are optimized. This means either PureRenderMixin must be applied on the component, or the component must have a shouldComponentUpdate method defined. It would be great if ESLint could warn developers when they have forgotten to optimize.
The text was updated successfully, but these errors were encountered:
I've taken a stab at this in the eslint-plugin-cumul8 repo (npm install eslint-plugin-cumul8). Will test this in various codebases before submitting as a PR to eslint-plugin-react Looking to others for testing and feedback.
On our team, we want to ensure all components are optimized. This means either PureRenderMixin must be applied on the component, or the component must have a
shouldComponentUpdate
method defined. It would be great if ESLint could warn developers when they have forgotten to optimize.The text was updated successfully, but these errors were encountered: