Skip to content

Commit

Permalink
memo(docs): change method name to correct one
Browse files Browse the repository at this point in the history
  • Loading branch information
ncor authored and thetarnav committed Sep 18, 2024
1 parent 2c125b3 commit 72c6be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/memo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 72c6be1

Please sign in to comment.