@slergberg/react-hook-use-interval

A very simple wrapper around setInterval for React.

Usage no npm install needed!

<script type="module">
  import slergbergReactHookUseInterval from 'https://cdn.skypack.dev/@slergberg/react-hook-use-interval';
</script>

README

React Hook useInterval

A very simple wrapper around setInterval for React.

build coverage dependabot license code style: prettier Contributor Covenant

Installation

npm install --save @slergberg/react-hook-use-interval

This assumes that you’re using npm package manager with a module bundler like Webpack or Browserify to consume CommonJS modules.

Contributing

Feel free to contribute with this library. For more information, take a look at our contributing guide.

License

MIT