摘要: h 函数支持以下写法,此次手写 h 函数,只支持后面 3 种写法(低配版) 文件结构: vnode.js // 函数的功能非常简单,就是透传参数 export default function (sel, data, children, text, elm) { return { sel, data 阅读全文
posted @ 2021-08-05 07:22 我就尝一口 阅读(244) 评论(1) 推荐(0) 编辑