What is Pinia and how does it compare to Vuex?

Interview Questions

May 2026

What is Pinia and how does it compare to Vuex?

Pinia is the official Vue 3 state management library — it replaces Vuex with a....

What are Vue 3 composables and how do they replace mixins?

Interview Questions

May 2026

What are Vue 3 composables and how do they replace mixins?

Composables are functions that use the Composition API to encapsulate and reuse stateful logic —....

What is the difference between v-if and v-show in Vue?

Interview Questions

May 2026

What is the difference between v-if and v-show in Vue?

v-if completely adds/removes the element from the DOM on each toggle, while v-show always keeps....

What is the Vue reactivity system and how does it work?

Interview Questions

May 2026

What is the Vue reactivity system and how does it work?

Vue's reactivity system uses JavaScript Proxies to intercept property reads and writes, automatically tracking which....

What is the difference between the Options API and Composition API in Vue 3?

Interview Questions

May 2026

What is the difference between the Options API and Composition API in Vue 3?

The Options API organises code by type (data, methods, computed), while the Composition API organises....