Vue Composition API
Vue 3-introduced alternative to Options API — use hooks-like ref, reactive, computed in a setup() function or <script setup>.
Inspired by React Hooks. <script setup> is the default recommendation in Vue 3+. Differs from Options API: better TypeScript typing, more composable logic (composables instead of mixins), no "this" pitfalls. Options API still works for backwards compatibility — Vue cared about not breaking v2 users.