Dependency injection in React
Dependency injection in React Components should not contain business logic, do you agree? If you’re on the fence about the answer, I’ll try to give you some insights into why we shouldn’t do this. This definition should discourage us from putting business logic in Components.