Skip to content

0.3.0

Compare
Choose a tag to compare
@wangcch wangcch released this 29 Sep 09:28
· 37 commits to master since this release

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.