1. Why did Vue introduce the Composition API and when should you choose it over the Options API?
The Composition API helps organize logic by feature instead of by option buckets (data, methods, computed). It scales better for large components, enables easy extraction of reusable logic (composables), improves TypeScript inference, and makes co-location of related code simpler. Use it when components grow large, logic is shared across components, or when strong typing and reusability matter.