Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(memoize): handle all undefined params #195

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

megheaiulian
Copy link
Contributor

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

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
@megheaiulian megheaiulian requested a review from a team February 11, 2025 11:11
@megheaiulian megheaiulian self-assigned this Feb 11, 2025
@cristinecula cristinecula merged commit f24d4c4 into master Feb 11, 2025
1 check passed
@cristinecula cristinecula deleted the feat/memoize-handle-initial-undefineds branch February 11, 2025 11:32
github-actions bot pushed a commit that referenced this pull request Feb 11, 2025
## [6.13.2](v6.13.1...v6.13.2) (2025-02-11)

### Bug Fixes

* **memoize:** handle all undefined params ([#195](#195)) ([f24d4c4](f24d4c4))
Copy link

🎉 This PR is included in version 6.13.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants