@solid-primitives/memo
Advanced tools
Comparing version 0.0.300 to 0.0.310
@@ -50,3 +50,3 @@ // src/index.ts | ||
const [state, setState] = createSignal(options.value, options); | ||
const [fn] = debounce(() => track(() => setState(calc)), timeoutMs); | ||
const fn = debounce(() => track(() => setState(calc)), timeoutMs); | ||
const track = createPureReaction(() => { | ||
@@ -53,0 +53,0 @@ fn(); |
{ | ||
"name": "@solid-primitives/memo", | ||
"version": "0.0.300", | ||
"version": "0.0.310", | ||
"description": "Collection of custom memo primitives. They extend Solid's createMemo functionality while keeping the usage similar.", | ||
"author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>", | ||
"contributors": [], | ||
"license": "MIT", | ||
@@ -12,5 +13,8 @@ "homepage": "https://github.com/davedbase/solid-primitives/tree/main/packages/memo#readme", | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/davedbase/solid-primitives/issues" | ||
}, | ||
"primitive": { | ||
"name": "memo", | ||
"stage": 1, | ||
"stage": 2, | ||
"list": [ | ||
@@ -50,3 +54,3 @@ "createCurtain", | ||
"@solid-primitives/utils": "^0.2.1", | ||
"@solid-primitives/debounce": "^1.1.1", | ||
"@solid-primitives/debounce": "^1.2.0", | ||
"@solid-primitives/throttle": "^1.1.1" | ||
@@ -53,0 +57,0 @@ }, |
@@ -6,3 +6,3 @@ # @solid-primitives/memo | ||
[](https://www.npmjs.com/package/@solid-primitives/memo) | ||
[](https://github.com/davedbase/solid-primitives#contribution-process) | ||
[](https://github.com/davedbase/solid-primitives#contribution-process) | ||
@@ -9,0 +9,0 @@ Collection of custom `createMemo` primitives. They extend it's functionality while keeping the usage similar. |
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
0
30621
435