Vue knowledge reference

Essential Vue Concepts

Explore all 43 knowledge cards from one complete menu. Each concept includes a quick tip, concise explanation, memory formula, example, and real-world uses for everyday reference, technical discussions, and interview preparation.

Topic 01

Core Architecture

8 questions

Question 01

1. What is Vue.js, and why is it important?

Back to question menu
Question 02

2. Explain Vue's reactivity system (Vue 3 ref vs reactive).

Back to question menu
Question 03

3. What is the difference between the Composition API and the Options API?

Back to question menu
Question 19

19. Explain mixins and why Composition API composables are preferred.

Back to question menu
Question 20

20. What is a Vue plugin, and how do you write and install one?

Back to question menu
Question 21

21. What is a Vue application instance, and how is it created in Vue 3?

Back to question menu
Question 26

26. How does Vue differ from React and Angular?

Back to question menu
Question 43

43. How did reactivity change from Vue 2 to Vue 3?

Back to question menu
Back to question menu
Topic 02

Data flow and transformations

5 questions

Question 04

4. How do computed properties differ from watchers?

Back to question menu
Question 32

32. How do watch() and watchEffect() differ?

Back to question menu
Question 33

33. What does toRefs() solve?

Back to question menu
Question 39

39. When should shallowRef() be used?

Back to question menu
Question 40

40. How do const and readonly() affect reactive state?

Back to question menu
Back to question menu
Topic 03

Templates & Directives

7 questions

Question 05

5. Explain v-if vs v-show.

Back to question menu
Question 06

6. How does v-model work under the hood?

Back to question menu
Question 07

7. What is the significance of the key attribute in v-for?

Back to question menu
Question 16

16. What is a Single-File Component (SFC)?

Back to question menu
Question 24

24. How do you handle form validation in a Vue.js application?

Back to question menu
Question 29

29. What are Vue directives and event modifiers?

Back to question menu
Question 41

41. How are custom directives created?

Back to question menu
Back to question menu
Topic 04

Component communication

8 questions

Question 08

8. What are scoped slots and how do they work?

Back to question menu
Question 09

9. Explain Provide and Inject in Vue.

Back to question menu
Question 17

17. Why must component data be a function in Options API?

Back to question menu
Question 22

22. What is the difference between local and global components?

Back to question menu
Question 25

25. What is $parent, and why is its direct usage discouraged?

Back to question menu
Question 27

27. How do props pass and validate parent data?

Back to question menu
Question 28

28. How does a child communicate with its parent?

Back to question menu
Question 30

30. How do default, named, and scoped slots differ?

Back to question menu
Back to question menu
Topic 05

Virtual DOM & Compile Optimizations

1 questions

Question 10

10. What is Vue's Virtual DOM and how does reconciliation work?

Back to question menu
Back to question menu
Topic 06

Lifecycle & State Management

7 questions

Question 11

11. Explain the lifecycle hooks in Vue 3 (Composition API).

Back to question menu
Question 12

12. How does Vue Router handle navigation guards?

Back to question menu
Question 13

13. What is Pinia, and how does it compare to Vuex?

Back to question menu
Question 31

31. Where should initial component data be fetched?

Back to question menu
Question 34

34. How should legacy Vuex stores be understood and tested?

Back to question menu
Question 35

35. How is Vue Router configured and how do dynamic routes work?

Back to question menu
Question 42

42. How can a Pinia getter accept an argument?

Back to question menu
Back to question menu
Topic 07

Advanced Optimization & Testing

7 questions

Question 14

14. How do you optimize Vue application performance (e.g. v-once, v-memo)?

Back to question menu
Question 15

15. How do you test Vue components (Vitest & Vue Test Utils)?

Back to question menu
Question 18

18. What is nextTick(), and when should you use it?

Back to question menu
Question 23

23. What is the difference between synchronous and asynchronous components?

Back to question menu
Question 36

36. What do Vite, Vue CLI, and vue-loader do?

Back to question menu
Question 37

37. How do dynamic components and KeepAlive work?

Back to question menu
Question 38

38. What does Teleport solve?

Back to question menu
Back to question menu

Get In Touch


Ready to discuss your next project? Drop me a message.