github alibaba/hooks v3.7.6

latest releases: v3.8.1, v3.8.0, v3.7.11...
19 months ago

What's Changed

  • 📝 docs (useSelections): modify the type and desc of params by @liuyib in #2083
  • 📝 docs (useSetState): more detailed demo and api docs by @liuyib in #2087
  • 📝 docs: optimise json display by @Miracles 1919 in #2091
  • 📝 docs (useMap/useSet): better type by @liuyib in #2088
  • 📝 docs: optimize docs indentation by @thinkasany in #2094
  • 📝 docs (useFavicon): update useFavicon docs by @goodjun in #2132
  • 📝 docs (usePrevious): update shouldUpdate default value by @KangXinzhi in #2122
  • 🐛 fix: fixed a conduction error using infinite scroll type by @wangyangexpo in #2096
  • 🐛 fix (useAntdTable): reset pageSize ( #2085 ) by @Ali-ovo in #2090
  • 🐛 fix: use memoized fn in useTimeout by @li-jia-nan in #2092
  • 🐛 fix (useReactive): allow the field value of initialState to be a special object by @liuyib in #2079
  • 🐛 fix (deps): missing @babel/runtime in cjs by @liuyib in #2095
  • 🐛 fix: reload after loadMore should set loading to true by @hchlq in #2120
  • 🐛 fix (useBoolean): default value is converted to boolean type by @KangXinzhi in #2108
  • 🐛 fix: use entire viewport when target is document by @hchlq in #2119
  • 🐛 fix (useInfiniteScroll): reload data should be latest by @hchlq in #2124
  • ✨ feat (useFullscreen): support page fullscreen by @eveningwater in #1893
  • ♻️ refactor: resolve all eslint warning by @liuyib in #2097
  • ♻️ refactor (useMap/useSet): refactoring useMap and useSet for improved initialValue checking. By @KangXinzhi in #2116
  • 🧪 test (useStorageState): add test case by @KangXinzhi in #2106
  • 🧪 test: add useCookieState test case by @KangXinzhi in #2112

  • 📝 docs (useSelections): 修改参数类型和描述,由 @liuyib 提交于 #2083
  • 📝 docs (useSetState): 更详细的演示和 API 文档,由 @liuyib 提交于 #2087
  • 📝 docs: 通过 @Miracles 1919 优化 JSON 显示,由 @Miracles 1919 提交于 #2091
  • 📝 docs (useMap/useSet): 更好的类型,由 @liuyib 提交于 #2088
  • 📝 docs: 通过 @thinkasany 优化文档缩进,由 @thinkasany 提交于 #2094
  • 📝 docs (useFavicon): 更新 useFavicon 文档,由 @goodjun 提交于 #2132
  • 📝 docs (usePrevious): 通过 @KangXinzhi 更新 shouldUpdate 的默认值,由 @KangXinzhi 提交于 #2122
  • 🐛 fix: 修复使用无限滚动类型的传导错误,由 @wangyangexpo 提交于 #2096
  • 🐛 fix (useAntdTable): 重置 pageSize ( #2085 ),由 @Ali-ovo 提交于 #2090
  • 🐛 fix: 在 useTimeout 中使用记忆化函数,由 @li-jia-nan 提交于 #2092
  • 🐛 fix (useReactive): 允许 initialState 的字段值为特殊对象,由 @liuyib 提交于 #2079
  • 🐛 fix (deps): 在 cjs 中添加 @babel/runtime,由 @liuyib 提交于 #2095
  • 🐛 fix: loadMore 后重新加载应将 loading 设置为 true,由 @hchlq 提交于 #2120
  • 🐛 fix (useBoolean): 默认值转换为布尔类型,由 @KangXinzhi 提交于 #2108
  • 🐛 fix: 当目标是文档时,使用整个视口,由 @hchlq 提交于 #2119
  • 🐛 fix (useInfiniteScroll): 重新加载数据应该是最新的,由 @hchlq 提交于 #2124
  • ✨ feat (useFullscreen): 支持页面全屏,由 @eveningwater 提交于 #1893
  • ♻️ refactor: 通过 @liuyib 解决所有 eslint 警告,由 @liuyib 提交于 #2097
  • ♻️ refactor (useMap/useSet): 通过 @KangXinzhi 重构 useMap 和 useSet
  • 🧪 test (useStorageState): 添加测试用例,由 @KangXinzhi 提交于 #2106
  • 🧪 test: 添加 useCookieState 的测试用例,由 @KangXinzhi 提交于 #2112

New Contributors

Full Changelog: v3.7.5...v3.7.6

Don't miss a new hooks release

NewReleases is sending notifications on new releases.