awsome react hooks use

Usage no npm install needed!

<script type="module">
  import reactHooksCollection from '';


  • usePersist — tracks and recovers page state automatically.

  • useOnScreen — detects when an element is visible (total or partial) on the screen as well as specify how much of the element should be visible on screen.

  • useScript — loads external script and know when it is loaded.