High performance immutable lib alternative to immer with the same api, based on shallow copy on read and mark modified on write mechanism.
220
stars
13
forks
source link
limu在react useState的更新中作为新值传递无效,额外的useState触发更新后才触发视图更新 #1
Closed
itmanyong closed 3 years ago
如图所示:useLimu的更新不起作用,且在非useLimu的更新触发更新后,useLimu之前的更新才会在视图上呈现最新的值