You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# [14.0.0](v13.27.1...v14.0.0) (2020-04-04)
### Features
* **useRafLoop:** implement [#1090](#1090) ([1ef1272](1ef1272))
* **useRafLoop:** reworked the hook, now it do not re-render parent component. ([baa2f75](baa2f75))
### BREAKING CHANGES
* **useRafLoop:** changed return array, now it returns only functions in next order: [stop, start, isActive].
Parent component is not re-rendered on loop start/stop.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Pass the timestamp argument from
requestAnimationFrame
to the callback ofuseRafLoop
.Describe alternatives you've considered
Just call
requestAnimationFrame
myself which really defeats the purpose of this library.The text was updated successfully, but these errors were encountered: