mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-03 06:12:53 +02:00
Add plugin and watcher docs
This commit is contained in:
@@ -1 +1,6 @@
|
||||
# Plugins
|
||||
# Plugins
|
||||
|
||||
Plugins are self-contained code that usually add app-level functionality to Vue.
|
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
|
||||
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://vuejs.org/guide/reusability/plugins.html'>Plugins in Vue.js</BadgeLink>
|
||||
|
@@ -1 +1,8 @@
|
||||
# Watchers
|
||||
# Watchers
|
||||
|
||||
Computed properties allow us to declaratively compute derived values. However, there are cases where we need to perform "side effects" in reaction to state changes - for example, mutating the DOM, or changing another piece of state based on the result of an async operation.
|
||||
|
||||
With Composition API, we can use the watch function to trigger a callback whenever a piece of reactive state changes.
|
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
|
||||
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://vuejs.org/guide/essentials/watchers.html'>Watchers in Vue.js</BadgeLink>
|
||||
|
Reference in New Issue
Block a user