Exercise 1: Spot the Anti-Patterns (20 minutes)





Instructions


Review each code snippet and identify the anti-patterns. Write down:


What anti-pattern(s) you see
Why it's problematic
What principle(s) it violates





Code Snippet A: User Dashboard





const UserDashboard = ()...