0.3.3 (2022-01-12)
- useThrottleFn: support typescript 4.5. (04920c0)
0.3.2 (2021-04-10)
- export types separately. (c3fbd6e)
0.3.1 (2021-04-05)
- export
ControlFunctions
type. (ef17e26)
0.3.0 (2020-09-29)
- useThrottle:
customizer
option and returns (442b42f)- type: add
ThrottleOptions
; - options:
customizer
(The function to customize comparisons); - returns: value -> object. (
[T, ControlFunctions]
).
- type: add
- useThrottleFn: split returns and rename options type (c0938da)
- type:
ThrottleOptions
->ThrottleFnOptions
; - type:
ThrottleReturnResult
->ControlFunctions
+ThrottleReturnResult
.
- type:
0.2.2 (2020-06-28)
- remove
react-dom
(peerDependencies) (0b302f9)
0.2.1 (2020-06-02)
- callPending: timer null (5de230e)
0.2.0 (2020-04-26)
- useThrottleFn: return callPending (bc111a4)
0.1.1 (2020-04-23)
- build commonjs module in lib (cb00d34)
0.1.0 (2020-04-17)
- useThrottleFn:
throttleOptions
->ThrottleOptions
(rename) (05ff61f)
0.1.0-alpha2 (2020-04-16)
- useThrottleFn: unmount clear timer (80c987f)
- useThrottle: options (leading) and ref callback (ac103d0)
- useThrottleFn: options (leading) (c56994c)
- default wait 0 (ba2c1d4)
0.1.0-alpha (2020-04-10)
- useThrottle / useThrottleFn (1ac12bb)