Published on2023年7月16日重学 React 状态管理 - Jotai 篇reactjotaistate-management从派生 atom 里的两次 get 看 Jotai 怎么记录依赖,再用购物车说明基础数据、派生值和写操作怎么组织。