8月22日打卡,今日学习了如下文链接《Vue3 + TypeScript 复盘总结》这篇文章通过项目总结了Vue3使用的语法变化、API变化及遇到的坑,在作者文中提到的使用 props 和 context的方式,到现在已经不需要import { defineEmit } from "vue"的声明引入,现在会自动可用(To declare options like props and emits with full type inference support, we can use the defineProps and defineEmits APIs, which are automatically available inside <script setup>),技术和文档总是在变化,需要一直跟踪追随变化。