Skip to content

章回顾

仲灏约 1 分钟

章回顾

产出

  • Vue3 常考知识点和面试题

主要内容

  • Vue3 基本使用
  • Vue3 相比于 Vue2 的升级
  • ref 相关的知识点(比较难理解)
  • Composition API
  • Vue3 原理讲解

关键字

  • Vue3 新功能
    • createApp
    • emits 属性
    • 多事件处理
    • Fragment
    • .sync 改为 v-model 参数
    • 异步组件的引用方式
    • 移除 filter
    • Teleport
    • Suspense
  • Composition API
    • reactive
    • ref toRef toRefs
    • readonly
    • computed
    • watch watchEffect
    • 钩子函数生命周期
  • Vue3 原理
    • Proxy 响应式
    • PatchFlag
    • hoistStatic
    • cacheHandler
    • SSR 优化
    • Tree shaking
  • Vite 和 ES Module

注意事项

  • 原理不等于源码,用 2/8 原则高效学习

上次更新:

讨论区

欢迎留下想法与补充