Skip to content

Releases: react-cmpt/use-throttle

0.3.3

12 Jan 06:13
Compare
Choose a tag to compare

Features

  • useThrottleFn: support typescript 4.5. (04920c0)

0.3.2

10 Apr 15:44
Compare
Choose a tag to compare

Features

  • export types separately. (c3fbd6e)

0.3.1

05 Apr 13:59
Compare
Choose a tag to compare

Features

  • export ControlFunctions type. (ef17e26)

0.3.0

29 Sep 09:28
Compare
Choose a tag to compare

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

28 Jun 09:24
Compare
Choose a tag to compare

Refactor

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