How to implement S.O.L.I.D Principles in React and Easy Demo.
Single Responsibility Principle (SRP).
Content: A component should have only one reason to change, meaning it should have only one job.
Should: Try splitting code into smaller component to easy to control and debug.
Shouldn't: Combine display logic, ...
haquocviet.hashnode.dev4 min read