Skip to content

Commit

Permalink
✨ feat: update 2024-03-10 section
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiacheng787 committed Mar 10, 2024
1 parent c6d04f6 commit 891781b
Show file tree
Hide file tree
Showing 239 changed files with 470 additions and 470 deletions.
4 changes: 2 additions & 2 deletions 2021/11月14日内容汇总/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 2021/11月21日内容汇总/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="alternate" type="application/atom+xml" href="/frontend-weekly/2022/atom.xml" title="Frontend Weekly Atom Feed">
<link rel="alternate" type="application/rss+xml" href="/frontend-weekly/2021/rss.xml" title="Frontend Weekly RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/frontend-weekly/2021/atom.xml" title="Frontend Weekly Atom Feed"><link rel="stylesheet" href="https://frontend-weekly.oss-cn-hangzhou.aliyuncs.com/assets/css/styles.52862517.css">
<link rel="preload" href="https://frontend-weekly.oss-cn-hangzhou.aliyuncs.com/assets/js/runtime~main.e0a78070.js" as="script">
<link rel="preload" href="https://frontend-weekly.oss-cn-hangzhou.aliyuncs.com/assets/js/runtime~main.e62d6547.js" as="script">
<link rel="preload" href="https://frontend-weekly.oss-cn-hangzhou.aliyuncs.com/assets/js/main.4afc04c4.js" as="script">
</head>
<body class="navigation-with-keyboard">
Expand All @@ -20,7 +20,7 @@
对于 <code>^1.2.3</code> 而言,它的版本号范围是 <code>&gt;=1.2.3 &lt;2.0.0</code></p><p>当我们 <code>npm i</code> 时,默认的版本号是 <code>^</code>,可最大限度地在向后兼容与新特性之间做取舍,但是有些库有可能不遵循该规则,我们在项目时应当使用 <code>yarn.lock/package-lock.json</code> 锁定版本号。</p><p>📒 Vue 3.2 响应式优化相关</p><p><code>Object.defineProperty</code> 处理深度嵌套对象需要进行递归,而 <code>Proxy</code> 同样也只能监听当前层级的对象,如果深度嵌套也需要递归的,所以才有了 <code>reactive</code><code>shallowReactive</code></p><p>之前看了黄轶老师写的 Vue3.2 响应式优化,<code>Proxy</code> 实际上比 <code>Object.defineProperty</code> 要慢,Vue 2.x 是直接在初始化阶段就进行深度递归,而 Vue3 的响应式优化就体现在只有访问对象属性的时候,再递归响应式,也就是延迟处理子对象,所以在初始化阶段性能较好。</p><p>📒 手把手实现一个 babel 插件</p><p>这篇做的 demo 是一个简单的 babel-plugin-import
<a href="https://juejin.cn/post/6844903746804137991" target="_blank" rel="noopener noreferrer">深入Babel,这一篇就够了</a></p><p>这篇做的 demo 类似 Java 中的 lambok
<a href="https://juejin.cn/post/7012424646247055390" target="_blank" rel="noopener noreferrer">保姆级教学!这次一定学会babel插件开发!</a></p><p>📒 <a href="https://juejin.cn/post/7025524870842679310#heading-58" target="_blank" rel="noopener noreferrer">从 16 个方向逐步搭建基于 vue3 的前端架构</a></p><p>📒 <a href="https://juejin.cn/post/6844903869558816781" target="_blank" rel="noopener noreferrer">VuePress + Travis CI + Github Pages 全自动上线文档</a></p></div><footer class="row docusaurus-mt-lg blogPostFooterDetailsFull_Vbb7"><div class="col"><b>Tags:</b><ul class="tags_HAaO padding--none margin-left--sm"><li class="tag_Ut5_"><a class="tag_sQub tagRegular_dfhI" href="/frontend-weekly/2021/tags/文档部署">文档部署</a></li><li class="tag_Ut5_"><a class="tag_sQub tagRegular_dfhI" href="/frontend-weekly/2021/tags/babel-插件">Babel 插件</a></li><li class="tag_Ut5_"><a class="tag_sQub tagRegular_dfhI" href="/frontend-weekly/2021/tags/vue">Vue</a></li><li class="tag_Ut5_"><a class="tag_sQub tagRegular_dfhI" href="/frontend-weekly/2021/tags/语义化版本">语义化版本</a></li><li class="tag_Ut5_"><a class="tag_sQub tagRegular_dfhI" href="/frontend-weekly/2021/tags/第三方库-lockfile">第三方库 lockfile</a></li><li class="tag_Ut5_"><a class="tag_sQub tagRegular_dfhI" href="/frontend-weekly/2021/tags/npm-发包">NPM 发包</a></li><li class="tag_Ut5_"><a class="tag_sQub tagRegular_dfhI" href="/frontend-weekly/2021/tags/git-小技巧">git 小技巧</a></li></ul></div><div class="col margin-top--sm"><a href="https://github.com/facebook/docusaurus/edit/main/website/blog/blogs/2021/2021-11-21/index.md" target="_blank" rel="noreferrer noopener" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_O9Og" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Blog post page navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/frontend-weekly/2021/11月28日内容汇总"><div class="pagination-nav__sublabel">Newer Post</div><div class="pagination-nav__label">11月28日内容汇总</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/frontend-weekly/2021/11月14日内容汇总"><div class="pagination-nav__sublabel">Older Post</div><div class="pagination-nav__label">11月14日内容汇总</div></a></nav></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Blog</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/frontend-weekly/2024">Tutorial</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://github.com/garfield-dev-team/Garfield-cli" target="_blank" rel="noopener noreferrer" class="footer__link-item">Garfield-cli 前端工程化<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_LBPb"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://github.com/Jiacheng787/Garfield-utils" target="_blank" rel="noopener noreferrer" class="footer__link-item">NPM 工程化规范<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_LBPb"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://github.com/Jiacheng787/React-zero-to-one" target="_blank" rel="noopener noreferrer" class="footer__link-item">React 从零到一工程化指北<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_LBPb"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://github.com/Jiacheng787/go-by-example" target="_blank" rel="noopener noreferrer" class="footer__link-item">Golang 学习<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_LBPb"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://github.com/Jiacheng787/Bytedance-interview" target="_blank" rel="noopener noreferrer" class="footer__link-item">面试内容汇总<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_LBPb"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2024 Garfield Dev Team. Built with Docusaurus. Deploys on GitHub Pages.</div></div></div></footer></div>
<script src="https://frontend-weekly.oss-cn-hangzhou.aliyuncs.com/assets/js/runtime~main.e0a78070.js"></script>
<script src="https://frontend-weekly.oss-cn-hangzhou.aliyuncs.com/assets/js/runtime~main.e62d6547.js"></script>
<script src="https://frontend-weekly.oss-cn-hangzhou.aliyuncs.com/assets/js/main.4afc04c4.js"></script>
</body>
</html>
Loading

0 comments on commit 891781b

Please sign in to comment.