Search results

140 packages found

delay the evaluation of a paramless async function and cache the result

published version 1.1.0, 5 years ago625 dependents licensed under $MIT
50,776,090

Memoize/cache function results

published version 0.4.17, 10 months ago1114 dependents licensed under $ISC
19,059,648

A tiny, crazy fast memoization library for the 95% use-case

published version 4.1.3, 3 months ago93 dependents licensed under $MIT
1,792,309

React PureComponent implementation embracing Immutable.js

published version 2.2.2, 5 years ago47 dependents licensed under $MIT
1,574,604

Polyfill for RFC 566: @cached

published version 1.0.2, 2 years ago25 dependents licensed under $MIT
316,369

Helper for memoizing async functions and methods

published version 1.1.0, 7 years ago24 dependents licensed under $BSD
174,504

Same as React's `useCallback`, but returns a stable reference.

published version 0.9.6, 2 years ago25 dependents licensed under $MIT
105,532

Helper for memoizing synchronous functions and methods

published version 1.1.1, 7 years ago24 dependents licensed under $BSD
65,925

A memoization algorithm that only caches the result of the latest set of arguments, where argument equality is determined via a provided equality function.

published version 1.1.0, 5 years ago7 dependents licensed under $MIT
82,095

A memoization algorithm in which each function argument represents a new key, creating a trie of caches as defined by the array in your first argument.

published version 1.2.0, 5 years ago15 dependents licensed under $MIT
80,745

Memoize any function using Keyv as storage backend.

published version 2.1.7, a month ago7 dependents licensed under $MIT
53,423

Reuse the previous version of a value unless it has changed

published version 1.0.1, 5 years ago1 dependents licensed under $MIT
13,356

Collection of custom memo primitives. They extend Solid's createMemo functionality while keeping the usage similar.

published version 1.4.1, 12 days ago11 dependents licensed under $MIT
42,157

Simple decorator for caching getters on first access

published version 1.0.0, 6 years ago6 dependents licensed under $MIT
10,904

React hook for generating async memoized data.

published version 1.2.5, a year ago22 dependents licensed under $MIT
16,898

memoize a getter of an object

published version 1.0.1, 9 years ago9 dependents licensed under $MIT
8,636

`asyncforge` allows you to remove singletons from your codebase with the use of [`AsyncLocalStorage`](https://nodejs.org/api/async_context.html#class-asynclocalstorage).

published version 0.5.0, 10 months ago1 dependents licensed under $MIT
5,241

Automatically add displayName properties to your React project.

published version 0.1.0, 4 years ago5 dependents licensed under $MIT
9,829

Svelte stores that remember previous values

published version 2.1.4, 2 years ago0 dependents licensed under $MIT
2,260

Composable reactive helpers built around watching computation changes.

published version 1.1.1, 3 years ago0 dependents licensed under $MIT
832