Search results

24 packages found

useMemo and useCallback but with a stable cache

published version 1.1.3, 3 years ago264 dependents licensed under $MIT
9,550,101

React hook useEventCallback

published version 0.1.0, 6 years ago92 dependents licensed under $ISC
86,318

The React hooks you know, with added granularity

published version 1.1.0, 3 years ago3 dependents licensed under $MIT
36,070

Asynchronous React Hooks

published version 0.0.2, 2 years ago28 dependents licensed under $MIT
10,781

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

published version 1.0.0, 5 years ago2 dependents licensed under $MIT
2,489

turn recreatable function to a persistent one

published version 1.2.0, 5 years ago1 dependents licensed under $MIT
401

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, 3 years ago0 dependents licensed under $MIT
378

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

published version 1.3.0, 4 years ago0 dependents licensed under $MIT
158

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

published version 1.2.2, 2 years ago0 dependents licensed under $MIT
128

useRef and useCallback to work with external JavaScript

published version 1.0.0, 4 years ago0 dependents licensed under $MIT
106

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

published version 1.1.2, 3 years ago0 dependents licensed under $MIT
74

A React hook for creating cached callback

published version 0.0.9, 3 years ago0 dependents licensed under $ISC
68

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

published version 1.0.3, 6 months ago0 dependents licensed under $MIT
44

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, 8 months ago0 dependents licensed under $MIT
43

Solve the useCallback dependency trap 解决useCallback依赖陷阱

published version 0.0.3, 5 years ago5 dependents licensed under $MIT
49

Like useCallback, but supports imperative recapturing and always returns stable reference

published version 1.0.4, 2 years ago1 dependents licensed under $MIT
26

better useCallback with helpers

published version 0.0.11, 4 years ago0 dependents licensed under $MIT
28

一个好用的react hook工具库

published version 1.0.2, 3 years ago0 dependents licensed under $MIT
20

useMemo and useCallback but with a stable cache

published version 1.1.1, 4 years ago0 dependents licensed under $MIT
21

A react hook for stable callbacks executed as effects

published version 0.1.0, 5 years ago0 dependents licensed under $MIT
13
OSZAR »