Skip to content

Latest commit

 

History

History
112 lines (43 loc) · 3.68 KB

CHANGELOG.md

File metadata and controls

112 lines (43 loc) · 3.68 KB

0.3.3 (2022-01-12)

Features

  • useThrottleFn: support typescript 4.5. (04920c0)

0.3.2 (2021-04-10)

Features

  • export types separately. (c3fbd6e)

0.3.1 (2021-04-05)

Features

  • export ControlFunctions type. (ef17e26)

0.3.0 (2020-09-29)

Features

  • useThrottle: customizer option and returns (442b42f)
    1. type: add ThrottleOptions;
    2. options: customizer (The function to customize comparisons);
    3. returns: value -> object. ([T, ControlFunctions]).
  • useThrottleFn: split returns and rename options type (c0938da)
    1. type: ThrottleOptions -> ThrottleFnOptions;
    2. type: ThrottleReturnResult -> ControlFunctions + ThrottleReturnResult.

0.2.2 (2020-06-28)

Refactor

  • remove react-dom (peerDependencies) (0b302f9)

0.2.1 (2020-06-02)

Bug Fixes

  • callPending: timer null (5de230e)

0.2.0 (2020-04-26)

Features

  • useThrottleFn: return callPending (bc111a4)

0.1.1 (2020-04-23)

Features

  • build commonjs module in lib (cb00d34)

0.1.0 (2020-04-17)

Refactor

  • useThrottleFn: throttleOptions -> ThrottleOptions (rename) (05ff61f)

0.1.0-alpha2 (2020-04-16)

Bug Fixes

  • useThrottleFn: unmount clear timer (80c987f)

Features

  • useThrottle: options (leading) and ref callback (ac103d0)
  • useThrottleFn: options (leading) (c56994c)
  • default wait 0 (ba2c1d4)

0.1.0-alpha (2020-04-10)

Features

  • useThrottle / useThrottleFn (1ac12bb)