github alibaba/hooks v3.8.2

19 days ago

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

Full Changelog: v3.8.1...v3.8.2

Don't miss a new hooks release

NewReleases is sending notifications on new releases.