Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 4.38 KB

CHANGELOG.md

File metadata and controls

43 lines (37 loc) · 4.38 KB

1.0.0 (2020-10-02)

Bug Fixes

  • fix eslint error (41bae4a)
  • useEvent: 修复 ref 变化时没有解绑事件的bug (a5aa835)
  • useHistory: patch when is client (230290d)
  • useSessionStorage: 修复没有导出 useSessionStorage 的bug (644060a)
  • useTimeout: clear setTimeout when component is unMounted (6a00858)
  • useToogle: fix wrong type and ban changing state with ref (963aca2)

Features

  • useDebounceFn: support passing params tothe returned function (17c97f0)
  • useHistory: export clear function (cbfd197)
  • useInterval: support restart interval (5376ed8)
  • useResize: support debounce (3ccabbf)
  • useScroll: support throttle (cc8d636)
  • useTimeoutFn: 将 watch 设置为同步执行 (87a5635)
  • useWindowScroll: support throttle (c600d1b)
  • add useDebounce (6a23363)
  • add useDebounceFn (5f01102)
  • add useHash (8c8d3f7)
  • add useHistory (af1bd7f)
  • add useInterval (a52fa1b)
  • add useLifecycles (b19dd8d)
  • add useLifecycles (99286f8)
  • add useStorage & useLocalStorage & useSessionStorage (b6d87c9)
  • add useTimeoutFn (7324143)
  • add useToogle & useBoolean (addfd95)
  • config vitepress (cc1a3a5)
  • config vitepress (31ba7fc)
  • useTimeout (65b364a)
  • project: init project (689d0c6)
  • useEvent: add useEvent (8db2731)
  • useEventRef: add useEventRef (7f20514)
  • useResize: add useResize (478f889)
  • useScroll: add useScroll (70b2a3a)
  • useScrollRef: add useScrollRef (d963675)
  • useTitle: add useTitle (527846c)
  • useWindowScroll: add useWindowScroll (d1d29fc)