npm

Search results

35 packages found

useMemo and useCallback but with a stable cache

published version 1.1.3, 4 years ago244 dependents licensed under $MIT
13,045,560

React hook useEventCallback

published version 0.1.0, 7 years ago95 dependents licensed under $ISC
186,490

The React hooks you know, with added granularity

published version 1.1.0, 4 years ago3 dependents licensed under $MIT
42,507

Asynchronous React Hooks

published version 0.0.2, 3 years ago27 dependents licensed under $MIT
9,068

ESLint plugin for React Compiler users to flag manual memoization (useMemo, useCallback, React.memo), reminding you to let the compiler do its thing ✨

published version 1.0.4, 8 months ago0 dependents licensed under $MIT
6,891

Convert a state to a ref when there need to a indirect use the state

published version 1.0.0, 7 years ago2 dependents licensed under $MIT
2,184

Asynchronous versions of the `useEffect` and` useCallback` hooks that able to cancel internal code by user requests or component unmounting

published version 0.12.2, 4 years ago0 dependents licensed under $MIT
1,404

turn recreatable function to a persistent one

published version 1.2.0, 6 years ago1 dependents licensed under $MIT
360

React hook that is a hybrid of useCallback and the cleanup from useEffect

published version 1.3.0, 5 years ago0 dependents licensed under $MIT
652

Dev-only wasted-render visualizer and memoization advisor for React 18 & 19

published version 0.1.1, a month ago0 dependents licensed under $MIT
267

ESLint plugin to detect unstable references returned from React hooks

published version 0.2.0, 3 months ago0 dependents licensed under $MIT
263

Set of the fastest tools for optimizing the work of a React application

published version 1.2.2, 3 years ago0 dependents licensed under $MIT
99

The enhanced version of useCallback that doesn't need deps array and keeps reference the same.

published version 1.1.2, 4 years ago0 dependents licensed under $MIT
81

Composable Hooks for React applications.

published version 1.0.1, 2 months ago1 dependents licensed under $MIT
73

Remove useMemo and useCallback hooks from React codebases to leverage React Compiler automatic optimization

published version 0.6.1, 4 months ago0 dependents licensed under $MIT
56

For projects that may or may not run on a browser, like websites with SSR, sets all browser global variables like `window` or `document` as eventually undefined for better type-proofing

published version 1.1.0, 2 years ago0 dependents licensed under $MIT
47

X-ray vision for React re-renders. See exactly which prop, state, or function reference caused a re-render — and whether it was even necessary.

published version 0.1.1, a month ago0 dependents licensed under $MIT
51

**useRealMemoCallback** - is a React Hook that allows you to cache the definition of a function 1 time, regardless of changing dependencies

published version 0.0.6, a year ago0 dependents licensed under $MIT
42

A React hook for creating cached callback

published version 0.0.9, 4 years ago0 dependents licensed under $ISC
45

An ESLint plugin for React optimization suggestions like useMemo and useCallback.

published version 1.0.3, 2 years ago0 dependents licensed under $MIT
37