Vue3+TS Day17 - 生命周期钩子、Provide、C
作者:
望穿秋水小作坊 | 来源:发表于
2021-12-13 13:46 被阅读0次
一、Composition API补充
1、生命周期钩子?

image.png
2、Provide 和 Inject使用?

image.png

image.png

image.png

image.png
3、Composition API综合案例之【计数器】

image.png
4、Composition API综合案例之【修改title】

image.png
5、Composition API综合案例之【监听页面滚动】

image.png
6、Composition API综合案例之【监听鼠标移动】

image.png
7、Composition API综合案例之【本地存储】

image.png
二、render、h()函数、jsx(了解,用到再回来查)
1、什么情况下会使用h函数?h函数是做什么的?

image.png
2、h()函数的基本用法?

image.png

image.png

image.png

image.png
3、什么是jsx?

image.png

image.png

image.png
本文标题:Vue3+TS Day17 - 生命周期钩子、Provide、C
本文链接:https://www.haomeiwen.com/subject/nzqjfrtx.html
网友评论