Open DaphnisLi opened 2 years ago
https://github.com/7kms/react-illustration-series/blob/master/docs/main/hook-state.md#:~:text=%E8%B0%83-,%E7%94%A8,-updateWorkInProgressHook%E8%8E%B7%E5%8F%96workInProgressHook
对,这里画的是最终状态
ok,谢谢大佬
https://github.com/7kms/react-illustration-series/blob/master/docs/main/hook-state.md#:~:text=%E8%B0%83-,%E7%94%A8,-updateWorkInProgressHook%E8%8E%B7%E5%8F%96workInProgressHook
这个地方的state改变应该是 1 => 3 => 2 的一个过程吧?这里只是展示了最后一步的图吗?