3 ms·
I think the article touches on that point. Specifically, the lint rule points out a problem that a class implementation would also likely have. Except that you
by danabramov 8y ago
I think the article touches on that point. Specifically, the lint rule points out a problem that a class implementation would also likely have. Except that you can’t easily lint the class implementation in a similar way.
The lint rule is not to appease React. It’s to show you where a component doesn’t handle updates. This is already very common with classes but those issues tend to stay unnoticed.