
Vue 3 Composition API
Lessons
1. Why the Composition API
2. Setup & Reactive References
3. Methods
4. Computed Properties
5. The Reactive Syntax
6. Modularizing
7. Lifecycle Hooks
8. Watch
9. Sharing State
10. Suspense
11. Teleport
Watch
The Watch method is used when we need to run code when when reactive objects change. Let’s use it inside the setup method.