cool-react-hooks

Useful React hooks!

Usage no npm install needed!

<script type="module">
  import coolReactHooks from 'https://cdn.skypack.dev/cool-react-hooks';
</script>

README

Cool React Hooks

A collection of must have React hooks for your React projects

Installation

npm i cool-react-hooks

Name Description
useLifecycle Two parameters: onMount() and onUnmount(), returns mounted state.
useInterval Interval handler that persists component re-renders.