Interval
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
useInterval(callback, interval [, options]): controls
number
1000
Amount of milliseconds between each callback.
Callbacks are not guaranteed to be called exactly after specified amount. For more info see self correction and callback. For explanation why, see this page.