Skip to content

Commit

Permalink
Small changes to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinm committed Nov 26, 2023
1 parent d007278 commit 2351179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ interface Config {

Function to convert function arguments to a unique key.

Without a `resolver` function, the arguments are converted to a key with `json-stringify-safe`,
Without a `resolver` function, the arguments are converted to a key with
a save version of JSON stringify.
This works fine when the arguments are primitives like strings, numbers and booleans.
This is undesirable when passing in objects with irrelevant data, like DOM elements.
Expand Down Expand Up @@ -183,7 +183,7 @@ class Example {
}

southUpdated() {
// The next time getComments("south") is called in this instance, comments will
// The next time getComments("south") is called in this instance, data will
// be fetched from the server again. But only for this instance.
clear(this, this.getDirection, "south");
}
Expand Down

0 comments on commit 2351179

Please sign in to comment.