Files
charlie d0d8be443b feat: Add Vue3 exercises and interview plan
- Introduced Vue3 exercises covering composable API, reactivity, lifecycle hooks, and built-in components.
- Added structured interview plan for frontend candidates focusing on HTML, CSS, JavaScript, TypeScript, and Vue.
- Included starter files for each exercise and detailed README documentation for guidance.
2026-03-24 23:02:58 +08:00

24 lines
608 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 练习 3watch 和 watchEffect
## 目标
学会区分“监听指定数据变化”和“自动收集依赖并执行副作用”。
## 你要练什么
- `watch`
- `watchEffect`
- 搜索关键字监听
- 副作用日志
## 任务
- 输入关键字时,用 `watch` 输出变化日志
-`watchEffect` 输出当前筛选信息
- 根据关键字过滤课程列表
## 文件
- [starter.html](/Users/lijiaqing/home/wwwroot/front-end-example/08-vue3/03-watch-and-watch-effect/starter.html)
- [starter.js](/Users/lijiaqing/home/wwwroot/front-end-example/08-vue3/03-watch-and-watch-effect/starter.js)