- Code optimization:
如果将一个函数任意地将其放在 useEffect Deps List 中
- 区分 Smart Component (know the state) 和 Dump Component (stateless)
Principles