Top 3.6% downloads on npmjs.org
Top 4.5% dependent packages on npmjs.org
Top 5.0% dependent repos on npmjs.org
Top 3.2% forks on npmjs.org
npmjs.org : @react-hook/cache
A React hook for accessing an async cache that persists data between renders and components. This allows you to do neat stuff like preload data before your next page or component has even started mounting.
Registry
-
Source
- Homepage
- JSON
- codemeta.json
purl: pkg:npm/%40react-hook/cache
Keywords:
react
, react hook
, cache
, react-cache
, react data fetching
, data fetching
, cache hook
, use-cache
, usecache
, usecache hook
, react cache hook
, debounce
, hooks
, hooks-api
, hooks-library
, react-hook
, react-hooks
, react-hooks-typescript
, throttle
, typescript
, typescript-hooks
, window-scroll
, window-size
License: MIT
Latest release: almost 4 years ago
First release: almost 6 years ago
Namespace: react-hook
Dependent packages: 4
Dependent repositories: 5
Downloads: 1,209 last month
Stars: 1,529 on GitHub
Forks: 97 on GitHub
Total Commits: 405
Committers: 29
Average commits per author: 13.966
Development Distribution Score (DDS): 0.311
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/jaredLunde
Last synced: 1 day ago
@react-hook/intersection-observer 3.1.2 💰
A React hook for the IntersectionObserver API that uses a polyfill when the native API is not ava...18 versions - Latest release: over 1 year ago - 6 dependent packages - 392 dependent repositories - 1.47 million downloads last month - 1,434 stars on GitHub - 1 maintainer
@react-hook/resize-observer 2.0.2 💰
A React hook that fires a callback whenever ResizeObserver detects a change to its size20 versions - Latest release: over 1 year ago - 113 dependent packages - 644 dependent repositories - 1.94 million downloads last month - 1,534 stars on GitHub - 1 maintainer
@mindblowing/resize-observer 1.2.8 💰
A React hook that fires a callback whenever ResizeObserver detects a change to its size2 versions - Latest release: almost 3 years ago - 527 downloads last month - 1,529 stars on GitHub - 1 maintainer
@react-hook/window-size 3.1.1 💰
React hooks for updating components when the size of the `window` changes.40 versions - Latest release: over 3 years ago - 109 dependent packages - 1,059 dependent repositories - 738 thousand downloads last month - 1,534 stars on GitHub - 1 maintainer
@react-hook/mouse-position 4.1.3 💰
A React hook for tracking the position, hover, and down state of the mouse as it interacts with a...24 versions - Latest release: over 4 years ago - 21 dependent packages - 136 dependent repositories - 44.4 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/event 1.2.6 💰
A React hook for managing event listeners, e.g. removing events when a component unmounts.14 versions - Latest release: over 4 years ago - 31 dependent packages - 1,415 dependent repositories - 881 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/merged-ref 1.3.2 💰
A React hook for merging multiple refs into one ref16 versions - Latest release: over 4 years ago - 49 dependent packages - 310 dependent repositories - 122 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/size 2.1.2 💰
A React hook for measuring the size of HTML elements including when they change7 versions - Latest release: over 4 years ago - 41 dependent packages - 250 dependent repositories - 356 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/debounce 4.0.0 💰
A React hook for debouncing setState and other callbacks26 versions - Latest release: over 4 years ago - 22 dependent packages - 1,307 dependent repositories - 846 thousand downloads last month - 1,372 stars on GitHub - 1 maintainer
@react-hook/switch 1.3.3 💰
A React hook for controlling a boolean value with toggle, on, and off callbacks12 versions - Latest release: about 5 years ago - 9 dependent packages - 59 dependent repositories - 7.35 thousand downloads last month - 1,524 stars on GitHub - 1 maintainer
@react-hook/async 3.1.1 💰
A React hook for gracefully resolving async functions and promises13 versions - Latest release: about 5 years ago - 9 dependent packages - 45 dependent repositories - 2.96 thousand downloads last month - 1,529 stars on GitHub - 1 maintainer
@react-hook/google-optimize 1.2.1 💰
A React hook for using Google Optimize variants in components14 versions - Latest release: over 5 years ago - 3 dependent packages - 8 dependent repositories - 8.1 thousand downloads last month - 1,529 stars on GitHub - 1 maintainer
@react-hook/latest 1.0.3 💰
A React hook that updates useRef().current with the most recent value each invocation4 versions - Latest release: over 5 years ago - 32 dependent packages - 2,748 dependent repositories - 2.8 million downloads last month - 1,530 stars on GitHub - 1 maintainer
@react-hook/passive-layout-effect 1.2.1 💰
A React hook that uses useEffect() on the server and useLayoutEffect() in the browser7 versions - Latest release: over 5 years ago - 33 dependent packages - 1,818 dependent repositories - 3.59 million downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/media-query 1.1.1 💰
React hooks that update when media queries change between matched and unmatched states.4 versions - Latest release: over 5 years ago - 22 dependent packages - 152 dependent repositories - 112 thousand downloads last month - 1,372 stars on GitHub - 1 maintainer
@react-hook/hover 4.0.0 💰
A React hook for tracking the hover state of DOM elements in browsers where hovering is possible12 versions - Latest release: over 5 years ago - 8 dependent packages - 44 dependent repositories - 19.7 thousand downloads last month - 1,530 stars on GitHub - 1 maintainer
@react-hook/server-promises 2.0.0 💰
A React hook for continuously rendering a React tree until no promises are pushed to server-promi...5 versions - Latest release: over 5 years ago - 4 dependent packages - 6 dependent repositories - 116 downloads last month - 1,529 stars on GitHub - 1 maintainer
@react-hook/timeout 2.1.1 💰
A React hook that executes a callback after a timeout ms have been exceeded and the timeout has b...5 versions - Latest release: over 5 years ago - 2 dependent packages - 2 dependent repositories - 2.17 thousand downloads last month - 1,530 stars on GitHub - 1 maintainer
@react-hook/toggle 2.0.1 💰
A React hook for toggling between two values5 versions - Latest release: over 5 years ago - 4 dependent packages - 4 dependent repositories - 8.05 thousand downloads last month - 1,529 stars on GitHub - 1 maintainer
@react-hook/hotkey 3.1.0 💰
A React hook for invoking a callback when hotkeys are pressed5 versions - Latest release: over 5 years ago - 3 dependent packages - 10 dependent repositories - 6.06 thousand downloads last month - 1,530 stars on GitHub - 1 maintainer
@react-hook/counter 2.0.0 💰
A React hook counter with min/max/step/cast options3 versions - Latest release: over 5 years ago - 2 dependent packages - 1 dependent repositories - 10 downloads last month - 1,529 stars on GitHub - 1 maintainer
@react-hook/copy 2.0.1 💰
A React hook for copying text to the clipboard4 versions - Latest release: over 5 years ago - 4 dependent packages - 17 dependent repositories - 24.6 thousand downloads last month - 1,529 stars on GitHub - 1 maintainer
@react-hook/click 2.0.0 💰
```jsx harmony import useClick from '@react-hook/click'3 versions - Latest release: over 5 years ago - 2 dependent packages - 2 dependent repositories - 130 downloads last month - 1,529 stars on GitHub - 1 maintainer
@react-hook/window-scroll 1.3.0 💰
A React hook for updating components when the scroll position of the window on the y-axis changes24 versions - Latest release: over 5 years ago - 31 dependent packages - 453 dependent repositories - 245 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/throttle 2.2.0 💰
A React hook for throttling setState and other callbacks28 versions - Latest release: over 5 years ago - 22 dependent packages - 1,527 dependent repositories - 1.01 million downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/change 1.0.0 💰
A React hook that invokes a callback anytime a value changes1 version - Latest release: over 5 years ago - 8 dependent packages - 13 dependent repositories - 15.8 thousand downloads last month - 1,530 stars on GitHub - 1 maintainer
@react-hook/previous 1.0.1 💰
A React hook that stores a value from the previous render2 versions - Latest release: over 5 years ago - 6 dependent packages - 68 dependent repositories - 27.4 thousand downloads last month - 1,534 stars on GitHub - 1 maintainer