react文章收录
wǎng luò shí huāng 2022-05-09
react16
文章收录
react开发经验
React 状态管理 - useState/useReducer + useContext 实现全局状态管理
- 原文:https://mp.weixin.qq.com/s/pW-watZsmAtjjCPbHANOQw
- 截图 (opens new window)
React状态管理 - 为什么 React Zustand 是当下复杂状态管理的最佳选择
- https://mp.weixin.qq.com/s/vO5kcSQ9RQN5P7iBJjzu1g
防止react某个组件报错导致整个页面白屏:
- https://zh-hans.reactjs.org/docs/error-boundaries.html#introducing-error-boundaries
- 别人做好的东西 (opens new window)
- https://github.com/blazer233/react-errors/tree/errors-hook
react使用immer(包括umi等)
react里Hook使用注意点:
- React Hooks 使用误区,驳官方文档:https://mp.weixin.qq.com/s/ErRzJBg2Lw9HneBK5a5KoQ
自定义react hook以及其他生态:
- 参考:https://mp.weixin.qq.com/s/2koXfOGhhgRZ2WugUjivsQ
React新文档:不要滥用effect哦:
React新文档:不要滥用Ref哦
- 卡卡颂原文:https://mp.weixin.qq.com/s/bI3rohCePnay2JVsQvdtfg
合成事件:
- https://www.jianshu.com/p/a68219093f88
react系列文章:
- 知乎专栏:https://www.zhihu.com/column/c_1435538864199409664
- 知乎关注的作者:全栈潇晨
react组件开发:
- React组件库搭建:https://mp.weixin.qq.com/s/EShJL6SoVK7neHaVahckXA