What's Changed
- 🐛 fix(useAntdTable): dynamic setting ready failed by @guaijie in #2489
- 🐛 fix(useCountDown): targetDate resets leftTime by @joe-leong in #2346
- ♻️ refactor: replace lodash/isEqual with react-fast-compare by @guoyunhe in #2458
- ♻️ refactor(useGetState): stateRef to useLatest by @GetWebHB in #2407
- ♻️ refactor(useInViewport): el is not empty by @GetWebHB in #2476
- ♻️ refactor(useLockFn): catch to finally by @GetWebHB in #2421
- ♻️ refactor(useRafInterval): optimize useEffect cleanup fn by @GetWebHB in #2426
- ♻️ refactor(useRafTimeout): optimize useEffect cleanup fn by @GetWebHB in #2420
- ♻️ refactor(createEffectWithTarget): the first parameter is old-deps by @GetWebHB in #2431
- 📚 docs(useLongPress): change options to default by @GetWebHB in #2479
- 🛠 chore(dev-deps): bump prettier & eslint by @li-jia-nan in #2248
- 🐛 fix(useAntdTable): 修复动态设置 ready 失效的 bug,由 @guaijie 提交于 #2489
- 🐛 fix(useCountDown): targetDate 重置 leftTime,由 @joe-leong 提交于 #2346
- ♻️ refactor: 使用 react-fast-compare 替换 lodash/isEqual,由 @guoyunhe 提交于 #2458
- ♻️ refactor(useGetState): stateRef 替换为 useLatest,由 @GetWebHB 提交于 #2407
- ♻️ refactor(useInViewport): el 不为空,由 @GetWebHB 提交于 #2476
- ♻️ refactor(useLockFn): catch 改为 finally,由 @GetWebHB 提交于 #2421
- ♻️ refactor(useRafInterval): 优化 useEffect 清理函数,由 @GetWebHB 提交于 #2426
- ♻️ refactor(useRafTimeout): 优化 useEffect 清理函数,由 @GetWebHB 提交于 #2420
- ♻️ refactor(createEffectWithTarget): 第一个参数是 old-deps,由 @GetWebHB 提交于 #2431
- 📚 docs(useLongPress): 将选项更改为默认值,由 @GetWebHB 提交于 #2479
- 🛠 chore(dev-deps): 更新 prettier 和 eslint 版本,由 @li-jia-nan 提交于 #2248
New Contributors
- @guoyunhe made their first contribution in #2458
- @guaijie made their first contribution in #2489
- @joe-leong made their first contribution in #2346
Full Changelog: v3.7.10...v3.7.11