列举我平时读过的一些文章,帮助更好的理解 React 的一些概念。 (顺序由新到旧)
RSC
- What Does “use client” Do? 如何对
use client
和use server
的理解 - JSX Over The Wire 可以理解成为什么 React 要做 RSC,或者说 RSC 走的什么道路
- React for Two Computers 讲故事的方式解释 RSC 是如何实现的但并不是砌代码方式
Perf & Optimize
- 哔哩哔哩- React性能优化,你需要知道的一切 卡颂老师分享的视频。(有上下两集)
- One simple trick to optimize React re-renders 优化重渲染技巧,提升昂贵组件/将昂贵组件作为 props 传递
- Before You memo() 优化重渲染技巧,和上面这个差不多
- Fantastic closures and how to find them in React 了解闭包在 React 中的作用