# 文章收藏

# webpack

# 字节

# 自动化部署

# 性能优化

# 原型链

# React

# Electron

项目参考:视频截取react

项目参考:图片压缩

下载 ELECTRON_MIRROR="https://cdn.npm.taobao.org/dist/electron/" npm install -D electron

# 模块化

前端模块化的十年征程

# sparkplug

v8博客:https://v8.dev/blog/sparkplug

上面博客译文(翻译的不太好)

# 小技巧

# 去小数

2==Math.trunc(2.5)==2.2|0==~~2.2==Math.floor(2.5)

# 手写

手写

# 资源

https://xqlzgojeop.feishu.cn/base/bascnuPPSXiAEdbRusPPzP7wooz?table=tblzHip8reBd7HdK&view=vewFF6sjeW

# 算法

# CDN

jsdelivr

# 错误回溯

  • https://www.rrweb.io/

# 移动端1px问题解决方案

# 私有仓库

https://verdaccio.org/ https://github.com/cnpm/cnpmjs.org

# module && unmodule

# BFC

# Vue3实现

# 突破Hooks所有限制,只要50行代码

  • https://dev.to/ryansolid/building-a-reactive-library-from-scratch-1i0p
  • https://codesandbox.io/s/creatememo-0xyqf?from-embed=&file=/reactive.js

# SWC

# JsToTs

  • TypeStat
  • TypeWiz
  • js-to-ts-converter
  • TS-migrate
  • dts-gen
  • api-extractor
  • quicktype

# node事件循环