From 72c6be11b3b12a0b12db8be440627de4398302ee Mon Sep 17 00:00:00 2001 From: ensi <66754841+ncor@users.noreply.github.com> Date: Wed, 18 Sep 2024 02:20:14 +0300 Subject: [PATCH] memo(docs): change method name to correct one --- packages/memo/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/memo/README.md b/packages/memo/README.md index f1ece8686..cea8a0bfe 100644 --- a/packages/memo/README.md +++ b/packages/memo/README.md @@ -74,7 +74,7 @@ import { createLatestMany } from "@solid-primitives/memo"; const [count, setCount] = createSignal(1); const [text, setText] = createSignal("hello"); -const lastUpdated = createLatest([count, text]); +const lastUpdated = createLatestMany([count, text]); lastUpdated(); // => [1, "hello"] setCount(4);