10 2020 档案

摘要:1.注意package.json中的 browserslist,有些项目设置为>1% 于是里面注入了太多polyfill,改为一些比较现代的标准设置后。能快5s以上, 2.甚至关闭devtool soucemap,这个也很影响构建性能,至少有5s左右 阅读全文
posted @ 2020-10-23 02:37 hh9515 阅读(125) 评论(0) 推荐(0)
摘要:先大概写一下: 1.创建vnode 2.对vnode进行patch 3.在patch的过程中,如果是component类型,那么会生成子树subtree 然后patchsubtree ,如果是element类型会执行创建el,插入内容,如果子是数组那么遍历去patch createVNode(nor 阅读全文
posted @ 2020-10-22 02:59 hh9515 阅读(302) 评论(0) 推荐(0)
摘要:总结:非常好的文章,是我看过最好的理解响应式原理的文章 平时开发中,Vue的响应式系统让我们不再去操作DOM,只需关心数据逻辑的处理,极大地降低了代码的复杂度。而响应式系统也是Vue的核心,作为开发者有必要了解其实现原理! 简易版 以watch为切入点 watch是平时开发中使用率非常高的功能,其目 阅读全文
posted @ 2020-10-21 12:00 hh9515 阅读(207) 评论(0) 推荐(0)
摘要:https://stackoverflow.com/questions/118241/calculate-text-width-with-javascript/21015393#21015393 https://stackoverflow.com/questions/2897155/get-curs 阅读全文
posted @ 2020-10-19 15:15 hh9515 阅读(416) 评论(0) 推荐(0)
摘要:Well, to quote from this InfoQ article: Well, the answer is clearly no, for a simple reason: As we have seen above, HTTP/2 introduces Server Push whic 阅读全文
posted @ 2020-10-19 11:05 hh9515 阅读(893) 评论(0) 推荐(0)
摘要:https://semver.org/lang/zh-CN/ 阅读全文
posted @ 2020-10-08 17:42 hh9515 阅读(242) 评论(0) 推荐(0)
摘要:https://www.muji.com.cn/cn/net/contents/contact/material/ 阅读全文
posted @ 2020-10-08 17:40 hh9515 阅读(69) 评论(0) 推荐(0)
摘要:https://www.inflation.eu/en/inflation-rates/china/historic-inflation/cpi-inflation-china.aspx 阅读全文
posted @ 2020-10-08 17:36 hh9515 阅读(291) 评论(0) 推荐(0)
摘要:可以用于查看是否有pwm等问题 https://www.notebookcheck.net/ 阅读全文
posted @ 2020-10-08 17:34 hh9515 阅读(722) 评论(0) 推荐(0)