可复用 & 组合: 响应性计算和侦听


test: {{msg}}
1. computed(() this is the title
2. computed(() 的 getter 和 setter this is another title
3. watchEffect this is the 3rd title
4. watch: 侦听一个 getter
5. watch: 直接侦听ref
6. 侦听多个数据源: 侦听器还可以使用数组同时侦听多个源(逐个看数组的变化,返回数组前后的值)
7. 侦听响应式对象