useCallback 易忽略的一个小误区

React Hooks 中的 useCallback 并不能避免 function 在每次 render 时的 allocation
阅读全文

VSCode 自动补全 JSX

在 setting.json 中加入

1
2
3
4
5
6
7
8
9
"emmet.triggerExpansionOnTab": true,

"emmet.includeLanguages": {
"javascript": "javascriptreact"
}

// ts
"tslint.exclude": null,
"tslint.autoFixOnSave": true
阅读全文

uni-app 初体验

uni-app 试水
阅读全文

带 Cookie 去海边

阅读全文

陪好朋友拍婚照

阅读全文

带 Cookie 去打针

阅读全文

Cookie 初到家

阅读全文

数独游戏 by React & React Native

算是练手的项目吧
阅读全文