Design Patterns · Junior · Question 45 of 75
What is Separation of Concerns?
- ✓Correct answer: Different aspects (data, logic, UI) live in different parts of the code
- 2Each team member works only on their own task
- 3The frontend and the backend are stored in different repositories
Explanation
For example, data loading lives in a hook or a server component, business rules in pure functions, rendering in components. A change in one aspect doesn't affect the others.