Single responsibility principle
up:: SOLID
- “Seperation of concerns”
There is one job for a class. It should only do that.
This connects to the idea of “seperation of concerns” for React Components.
The ‘anti-pattern’ (a pattern you should avoid) would be the “God-class” in which all functionality is.