Design Patterns · Senior · Question 9 of 75
When does Clean Architecture on the frontend become harmful?
- ✓Correct answer: When there are more layers and abstractions than real business logic
- 2When the project uses TypeScript in strict mode
- 3When the team has more than three frontend developers
Explanation
For a CRUD interface, a "use case → repository → mapper → DTO" chain for every button is over-engineering: lots of code with no benefit. Architecture should match domain complexity; sometimes separating UI, state and the API layer is enough.