Skip to content

Releases: alibaba/hooks

v2.9.2

02 Dec 12:40
Compare
Choose a tag to compare
  • 💄 feat: useUpdate prevent the number from increasing too large and exceeding the maximum boundary #740
  • 💄 feat: add "manual" to useWebSocket #756

v2.9.1

10 Nov 13:23
Compare
Choose a tag to compare
  • 🐛 fix: useKeyPress failed on input auto complete #716

v2.9.0

03 Nov 01:51
Compare
Choose a tag to compare
  • ✨ Feat: Add useTrackedEffect #696 #704
  • ✨ Feat: Add useLockFn #703
  • ✨ Feat: useReactive add cache #701

v2.8.0

30 Oct 07:57
Compare
Choose a tag to compare
  • ✨ Feat: Add useReactive #627 #615
  • ✨ Feat: useScroll supports manual shouldUpdate control #698 #603
  • 📖 Docs: Add codesandbox link in useUrlState docs page #695

v2.7.1

21 Oct 12:34
Compare
Choose a tag to compare
  • 🐛 fix: useThrottleFn & useDebounceFn return run ts error

v2.7.0

16 Oct 08:29
Compare
Choose a tag to compare
  • ✨ feat: add useWebsocket #686
  • 🐛 fix: useEventListener target type supports Element type #664
  • 🐛 fix: useCountDown invalid date in safari #673
  • 🐛 fix: useRequest fetches default value to {} #672
  • 🐛 fix: useDocumentVisibility compatibility #676
  • 💄 optimize: optimize many hooks

v2.6.1

17 Sep 13:06
Compare
Choose a tag to compare
  • ✨ add useFavicon #641
  • 💄 feat: expose flush in useThrottleFn and useDebounceFn #648
  • 💄 refactor: useBoolean #638
  • 💄 refactor: useToggle #639
  • 💄 refactor: useClickAway #646

v2.6.0

08 Sep 13:18
Compare
Choose a tag to compare
  • ✨ add useCountDown #636
  • 🐛 fix useHistoryTravel Implicit-Conversion #582
  • 🐛 useResponsive verifies the existence of window variable #589
  • 🐛 fix useRequest loadmore trigger twice after refreshDeps change #634

v2.5.0

14 Aug 10:18
Compare
Choose a tag to compare
  • ✨ Add useUrlState #446
  • ✨ Add useNetwork #569
  • ✨ Add useTimeout #570
  • ✨ Support multiple target on useClickAway #563
  • 📖 Improve the documentation about browser compatibility #574

v2.4.0

02 Aug 07:00
Compare
Choose a tag to compare
  • useDrag add callbacks #543 #533
  • ✨ Add a reset method to useHistoryTravel #523 #517
  • 🐛 Fix the type definition of useSize #550 #546