diff --git a/README.md b/README.md index 01090b202..a028aa919 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [](https://pnpm.io/) [](https://turborepo.org/) -[](https://dash.deno.com/playground/combined-npm-downloads) +[](https://dash.deno.com/playground/combined-npm-downloads) A project that strives to develop high-quality, community contributed Solid primitives. All utilities are well tested and continuously maintained. Every contribution to the repository is checked for quality and maintained to the highest degree of excellence. The ultimate goal is to extend Solid's primary and secondary primitives with a set of tertiary primitives. @@ -86,9 +86,10 @@ The goal of Solid Primitives is to wrap client and server side functionality to |
Signal:
+ +Setter:
+ +Result: {memo()}
+ > + ); +} diff --git a/packages/memo/dev/writable.tsx b/packages/memo/dev/writable.tsx deleted file mode 100644 index 9f1a297fd..000000000 --- a/packages/memo/dev/writable.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { createEffect, createSignal } from "solid-js"; -import { createWritableMemo } from "../src"; - -export default function Cache() { - const [source, setSource] = createSignal(1); - const [memo, setMemo] = createWritableMemo(() => source()); - - const [setterCount, setSetterCount] = createSignal(1); - createEffect(() => { - setMemo(setterCount()); - }); - - return ( - <> -Signal:
- -Setter:
- -Result: {memo()}
- > - ); -} diff --git a/packages/memo/package.json b/packages/memo/package.json index f8951e979..7eefe6c2f 100644 --- a/packages/memo/package.json +++ b/packages/memo/package.json @@ -1,6 +1,6 @@ { "name": "@solid-primitives/memo", - "version": "1.1.5", + "version": "1.2.0", "description": "Collection of custom memo primitives. They extend Solid's createMemo functionality while keeping the usage similar.", "author": "Damian Tarnawski @thetarnav