Skip to content

Commit

Permalink
fix(memoize): handle all undefined params (#195)
Browse files Browse the repository at this point in the history
* fix(memoize): handle all undefined params

If all params are undefiend the equality checks will return true and the
function will return lastResult, which at that time will also be
undefined without calling the memoized function

* chore: fix deps
  • Loading branch information
megheaiulian authored Feb 11, 2025
1 parent fb53a06 commit f24d4c4
Show file tree
Hide file tree
Showing 4 changed files with 3,724 additions and 2,639 deletions.
Loading

0 comments on commit f24d4c4

Please # to comment.