Skip to content

Releases: alibaba/hooks

v1.0.0

06 Sep 12:49
Compare
Choose a tag to compare

2019-09-06

In 1.0.0, we released 8 new hooks that helps you build tables and forms, which are two major senarios in enterprise applications. A month from the 0.1.0 version was released, now it is ready for production.

Unlike other basic hooks libraries such as react-use and Rehooks, @umijs/hooks is specificly aiming at enterprise applications. It is highly integrated with Ant-Design UI library, and offers the whole logics you might need when building a form or table. That's the main differences between @umijs/hooks and others. We're building our hooks on top of them.

Major Changes

  • ⚡️refactor useLoadMore to use useAsync #52
  • 🌟useAntdTable now also cache the value even if the filter have not been searched yet #53
  • 💄useAPI default method setter renamed to configRequest #56
  • 💄add test cases for useAntdTable, useLoadMore and useAsync #54, #55

Bug fixes

  • 🐞useAntdTable initialValue not set correctly #53

v0.3.0

30 Aug 11:24
Compare
Choose a tag to compare
  • 🎉 add useDynamicList hook #38
  • 🎉 add useResponsive hook #40
  • 💄 add useControlledValue, useLoadMore, useSearch unit test #41 #43 #48
  • 💄 adjust dependencies #45
  • 🌟useAntdTable change table to tableProps #51

v0.2.2

22 Aug 11:36
Compare
Choose a tag to compare
  • 🌟useAsync run return Promise, options add onSuccess, onError #33 #37
  • ⚡️use react-use useUpdateEffect #36

v0.2.1

19 Aug 13:04
Compare
Choose a tag to compare
  • 🌟useAPI add optional request method #25
  • 🌟useAsync resume can receive params #25
  • ⚡️add babel-plugin-import #31

v0.2.0

19 Aug 12:44
Compare
Choose a tag to compare
  • 🌟upgrade useAntdTable API #24

v0.1.1

19 Aug 12:42
Compare
Choose a tag to compare
  • 🎉 add useControlledValue hook #22
  • 🌟 useSearch add run and cancel #21
  • 🐞 fix useAntdTable types #23

v0.1.0

19 Aug 12:26
Compare
Choose a tag to compare
  • 🎉 add useAPI hook #3
  • 🎉 add useAntdTable hook #4
  • 🎉 add useAsync hook #12
  • 🎉 add useSearch hook #15
  • 🎉 add useLoadMore hook #17