github alibaba/hooks v3.9.1

latest releases: v3.9.5, v3.9.4, v3.9.3...
15 days ago

What's Changed

  • 🆕 新功能
  • 🔧 配置更新
  • 🐛 问题修复
    • fix: createUseStorageState 类型未知问题 by @Meet-student in #2795
    • fix: 修复 useRequest 在启动两个以上轮询时,设置页面隐藏停止轮询,页面重新显示时,有请求不自动开始轮询的问题。 by @JaxonJay in #2688
    • fix: 修复 useInfiniteScroll 时序竞争问题 by @duwenhan2byte in #2786
    • fix: 提取集合操作的公共函数 by @maxiaokai1996 in #2661
    • fix: 修复 readyState 判断问题 by @dongmucat in #2705
    • fix: tsconfig 问题 by @ianzone in #2805
  • 🎨 代码重构
  • 📖 文档修复
  • 测试更新
    • test(use-url-state): 使用 vitest 进行测试 by @ianzone in #2804
    • test(createDeepCompareEffect): 使用 vitest 进行测试 by @ianzone in #2807
    • test(createUpdateEffect): 使用 vitest 进行测试 by @ianzone in #2810
    • test(useBoolean): 使用 vitest 进行测试 by @ianzone in #2813
    • test(useStorageState): 使用 vitest 进行测试 by @ianzone in #2811
    • test(useAsyncEffect): 使用 vitest 进行测试 by @ianzone in #2812
  • 👷 CI 相关

  • 🆕 New Features
  • 🔧 Configuration Updates
  • 🐛 Bug Fixes
    • fix: Fix the unknown type issue of createUseStorageState by @Meet-student in #2795
    • fix: Fix the problem that when useRequest starts more than two polling requests, if the page is set to hide to stop polling, and the page is redisplayed, some requests do not automatically start polling. by @JaxonJay in #2688
    • fix: Fix the timing competition issue of useInfiniteScroll by @duwenhan2byte in #2786
    • fix: Extract common functions for set operations by @maxiaokai1996 in #2661
    • fix: Fix the readyState judgment issue by @dongmucat in #2705
    • fix: Fix tsconfig issues by @ianzone in #2805
  • 🎨 Code Refactoring
  • 📖 Documentation Fixes
  • Test Updates
    • test(use-url-state): Use vitest for testing by @ianzone in #2804
    • test(createDeepCompareEffect): Use vitest for testing by @ianzone in #2807
    • test(createUpdateEffect): Use vitest for testing by @ianzone in #2810
    • test(useBoolean): Use vitest for testing by @ianzone in #2813
    • test(useStorageState): Use vitest for testing by @ianzone in #2811
    • test(useAsyncEffect): Use vitest for testing by @ianzone in #2812
  • 👷 CI Related

New Contributors

Full Changelog: v3.9.0...v3.9.1

Don't miss a new hooks release

NewReleases is sending notifications on new releases.