What's Changed
- ✨ feat(useStoage): listen to
storage
event by @vaakian in #2298 - ✨ feat(useSelections): support object array by @liuyib in #2485
- ✨ feat(useDynamicList): add
batchRemove
method by @xiaozisong in #2340 - ✨ feat(useSelections): add clearAll result by @lich-yoo in #2357
- 🐛 fix(type): fixed up some types that are non-standard and errors on
useExteneral
hook by @LonelyFellas in #2508 - 🐛 fix(useVirtualList): get correct offset when itemHeight is fixed by @leedawn in #2279
- 🐛 fix(useAntdTable): type of Params by @conorzhong in #2377
- 🔄 perf(createUseStorageState): avoid setState being invoked twice by @liuyib in #2532
- 🎨 style(utils): add default return value to
checkIfAllInShadow
by @enson0131 in #2529 - ⚡ test(useSelections): fix test case error by @liuyib in #2536
- 🛠 chore(useLatest): add a default state for comparison in useLatest demo by @shfshanyue in #2523
- ✨ feat(useStoage): 监听
storage
事件,由 @vaakian 提交于 #2298 - ✨ feat(useSelections): 支持对象数组,由 @liuyib 提交于 #2485
- ✨ feat(useDynamicList): 添加
batchRemove
方法,由 @xiaozisong 提交于 #2340 - ✨ feat(useSelections): 添加清除所有结果,由 @lich-yoo 提交于 #2357
- 🐛 fix(type): 修复
useExteneral
hook 上的一些非标准和错误类型,由 @LonelyFellas 提交于 #2508 - 🐛 fix(useVirtualList): 当 itemHeight 固定时获取正确的偏移量,由 @leedawn 提交于 #2279
- 🐛 fix(useAntdTable): 修复 Params 的类型问题,由 @conorzhong 提交于 #2377
- 🔄 perf(createUseStorageState): 避免 setState 被调用两次,由 @liuyib 提交于 #2532
- 🎨 style(utils): 为
checkIfAllInShadow
添加默认返回值,由 @enson0131 提交于 #2529 - ⚡ test(useSelections): 修复测试用例错误,由 @liuyib 提交于 #2536
- 🛠 chore(useLatest): 在 useLatest demo 中添加一个默认状态用于比较,由 @shfshanyue 提交于 #2523
New Contributors
- @LonelyFellas made their first contribution in #2508
- @conorzhong made their first contribution in #2377
- @leedawn made their first contribution in #2279
- @enson0131 made their first contribution in #2529
- @xiaozisong made their first contribution in #2340
- @lich-yoo made their first contribution in #2357
Full Changelog: v3.7.11...v3.8.0