Skip to content

Releases: alibaba/hooks

v1.5.1

06 Dec 11:03
Compare
Choose a tag to compare
  • 🎉 add useKeyPress hook #169
  • 🎉 add useInViewport hook #171
  • 🎉 add useFullscreen hook #177

v1.5.0

22 Nov 12:51
Compare
Choose a tag to compare

Major changes:

💄 docs and demos rewrite
🎉 9 new hooks released: useMouse, useDebounce, useDebounceFn, useThrottle, useThrottleFn, usePrevious, useClickAway, useSessioonStorageState and useScroll.

Other changes

🐞fix state type of useLocalStorageState #123
💄enhance useLocalStorageState #146

v1.3.3

07 Nov 16:29
b6a3d30
Compare
Choose a tag to compare
  • 🎉add hooks use toggle and use boolean #122
  • 💄Refactored all documents
  • 💄useLocalStorageState support object,number and boolean #114
  • 💄useAsync add params & autoCancel #112

v1.3.2

01 Nov 03:40
02a71bb
Compare
Choose a tag to compare

🐞fix useAntdTable switch page bugs when filters are set

v1.3.1

25 Oct 12:14
5b8d97b
Compare
Choose a tag to compare
  • 🐞fix eslint auto add deps bug

v1.3.0

24 Oct 08:54
0c1e942
Compare
Choose a tag to compare
  • 🎉 add useSelections hook #96
  • 🎉 add useUpdateEffect hook and remove react-use deps #102 #103
  • 🎉 add usePagination hook #105
  • 💄useAntdTable support sorter, filters #106
  • 💄support optional deps #98
  • 💄rename useControlledValue to useControllableValue #99

v1.2.0

12 Oct 07:23
Compare
Choose a tag to compare
  • 🎉 add useEventEmitter hook #74
  • 🎉 add useVirtualList hook #75
  • 🎉 add useSize hook #85
  • 🎉 add useStorageState hook #87
  • 💄 simplify async function in useAPI #83
  • 💄 refactor typescript definition #88 #89

v1.1.1

30 Sep 06:45
Compare
Choose a tag to compare
  • 🐞fix useAntdTable async function deps cannt work bug

v1.1.0

26 Sep 08:39
Compare
Choose a tag to compare
  • 💄add test cases for useDynamicList #60
  • 💄remove the window reference for node environment #61 #62
  • 🐞fix memory leak when unmount useAsync in success or error callback #66

v1.0.1

08 Sep 12:53
Compare
Choose a tag to compare
  • 🐞useAsync throw error change to return #59