alibaba/hooks
 Watch   
 Star   
 Fork   
2026-03-12 13:59:57
hooks

v3.9.7

What's Changed


New Contributors

Full Changelog: https://github.com/alibaba/hooks/compare/v3.9.6...v3.9.7

2025-10-27 12:55:41
hooks

v3.9.6

What's Changed


Full Changelog: https://github.com/alibaba/hooks/compare/v3.9.5...v3.9.6

2025-08-31 21:57:02
hooks

v3.9.5

What's Changed


New Contributors

Full Changelog: https://github.com/alibaba/hooks/compare/v3.9.4...v3.9.5

2025-08-22 13:08:53
hooks

v3.9.4

What's Changed

💪 chore: 测试命令改进。由 @Meet-student 贡献,详情见 PR #2835 🐞 fix: 修复 reloadAsync runAsync 负载问题。由 @Meet-student 贡献,详情见 PR #2836


💪 chore: Test command improvement. Contributed by @Meet-student, see PR #2835 for details. 🐞 fix: Fix the payload issue of reloadAsync runAsync. Contributed by @Meet-student, see PR #2836 for details.

Full Changelog: https://github.com/alibaba/hooks/compare/v3.9.3...v3.9.4

2025-08-18 18:14:51
hooks

v3.9.3

What's Changed


New Contributors

Full Changelog: https://github.com/alibaba/hooks/compare/v3.9.1...v3.9.3

2025-08-17 20:52:04
hooks

v3.9.1

What's Changed


New Contributors

Full Changelog: https://github.com/alibaba/hooks/compare/v3.9.0...v3.9.1

2025-06-28 21:03:05
hooks

v3.9.0

What's Changed

  • 🆕 新功能
    • 由 @li-jia-nan 贡献,在 #2776 中为 ahooks 添加了 cursor rules。
  • ⬆️ 依赖升级
    • 由 @li-jia-nan 贡献,在 #2775 支持 React 19。
  • 🐛 Bug 修复
    • 由 @Triumph-light 贡献,在 #2778 中修复了运行开发环境的问题。
    • 由 @ZephyrAndMoon 贡献,在 #2785 中修改了 useLonePress 在特殊设备、特殊情况下长按事件不触发的问题。
  • 📖 文档更新
    • 由 @cwen-jdoit 贡献,在 #2678 中更新了 useLocalStorageState 的文档。
    • 由 @superBigPotato 贡献,在 #2680 中修改了 useClickAway 文档描述,使 Target 属性支持函数。
    • 由 @xbsheng 贡献,在 #2787 中更新了 style.css 的路径。

  • 🆕 New Features
    • Contributed by @li-jia-nan, added cursor rules for ahooks in #2776.
  • ⬆️ Dependency Upgrade
    • Contributed by @li-jia-nan, upgraded the project to React 19 in #2775.
  • 🐛 Bug Fixes
    • Contributed by @Triumph-light, fixed the issue of running the development environment in #2778.
    • Contributed by @ZephyrAndMoon, modified the problem that the long - press event of useLonePress does not trigger under special devices and special circumstances in #2785.
  • 📖 Documentation Updates
    • Contributed by @cwen-jdoit, updated the documentation of useLocalStorageState in #2678.
    • Contributed by @superBigPotato, modified the documentation description of useClickAway to make the Target property support functions in #2680.
    • Contributed by @xbsheng, updated the path of style.css in #2787.

New Contributors

  • @Triumph-light made their first contribution in #2778
  • @ZephyrAndMoon made their first contribution in #2785
  • @cwen-jdoit made their first contribution in #2678
  • @superBigPotato made their first contribution in #2680

Full Changelog: https://github.com/alibaba/hooks/compare/v3.8.5...v3.9.0

2025-05-05 01:11:40
hooks

v3.8.5

What's Changed

🐛 修复问题

📘 文档改进

🛠 开发工具与维护

🔧 类型与性能优化


New Contributors

Full Changelog: https://github.com/alibaba/hooks/compare/v3.8.2...v3.8.5

2024-10-22 23:05:55
hooks

v3.8.2

What's Changed

  • 🔥 feat: add useTheme hook by @ianzone in #2617
  • 🔥 feat: support for array as event parameter in useEventListener by @askwuxue in #2598
  • 🔥 feat: support useInfiniteScroll scroll to top by @jaluik in #2565
  • 🐛 fix: Compatible with the case where props is null in useControllableValue by @mmmml-zhao in #2636
  • 🐛 fix: When manual=true, defaultParam will not populate the default values in form. by @askwuxue in #2594
  • 🛠 chore: Wrap the second parameter of the return value from useSetState with useMemoriedFn. by @askwuxue in #2592
  • 🛠 chore: Replace prettier with biome by @ianzone in #2629
  • 🛠 chore: Update pnpm to v9 by @ianzone in #2621

  • 🔥 feat: 新增 hook useTheme by @ianzone in #2617
  • 🔥 feat: useEventListener 事件支持传入数组参数 by @askwuxue in #2598
  • 🔥 feat: useInfiniteScroll 支持了direction, 提供向上滚动加载的支持 by @jaluik in #2565
  • 🐛 fix: 兼容了 useControllableValue 的 props 为 null 的情况 by @mmmml-zhao in #2636
  • 🐛 fix: useAntdTable 在 manual=true 的情况下 defaultParam 不会填充表单默认值 by @askwuxue in #2594
  • 🛠 chore: 使用 useMemoriedFn 包装 useSetState 返回值中的第二个参数 by @askwuxue in #2592
  • 🛠 chore: 使用 biome 替换 prettier by @ianzone in #2629
  • 🛠 chore: 更新 pnpm 至 v9 by @ianzone in #2621

New Contributors

  • @ianzone made their first contribution in #2621
  • @mmmml-zhao made their first contribution in #2636
  • @jaluik made their first contribution in #2565

Full Changelog: https://github.com/alibaba/hooks/compare/v3.8.1...v3.8.2

2024-08-11 10:10:29
hooks

v3.8.1

What's Changed


New Contributors

Full Changelog: https://github.com/alibaba/hooks/compare/v3.8.0...v3.8.1