react-fxxking-hooks
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

react-fxxking-hooks

Collection of React Hooks.

Install

npm i -S react-fxxking-hooks

Hooks

  • DOM

    • useHover — Tracks the hover state via mouseenter and mouseleave.
    • useScroll — Tracks the scroll state, supports debounce.
    • useShadowRoot — Creates a shadow DOM tree for a DOM element.
  • State

  • Timer

    • useInterval — Hooks version of setInterval.
    • useTimeout — Hooks version of setTimeout.
    • useTimer — Advanced timer which supports both interval and timeout.

Package Sidebar

Install

npm i react-fxxking-hooks

Weekly Downloads

6

Version

1.2.3

License

WTFPL

Unpacked Size

44.2 kB

Total Files

51

Last publish

Collaborators

  • nonoroazoro