Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix using multiple decorators on the same instance#78

New issue

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

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sindresorhus merged 3 commits intosindresorhus:mainfrombencehornak:multiple-decorators-on-one-instance
Jul 17, 2021
Merged

Fix using multiple decorators on the same instance#78

sindresorhus merged 3 commits intosindresorhus:mainfrombencehornak:multiple-decorators-on-one-instance
Jul 17, 2021

Conversation

@bencehornak
Copy link
Contributor

Fixes#77

Without incrementing returnValue every time *inside* the function, it isnot possible to test, if it is actually cached.
@sindresorhus
Copy link
Owner

//@Richienb

Currently the library mixes different memoized functions if they belongto the same instance
@sindresorhussindresorhus changed the titleMultiple decorators on one instanceFix using multiple decorators on the same instanceJul 17, 2021
@sindresorhussindresorhus merged commit7f7ca0a intosindresorhus:mainJul 17, 2021
@bencehornakbencehornak deleted the multiple-decorators-on-one-instance branchJuly 17, 2021 14:23
bencehornak added a commit to carmino-app/mem that referenced this pull requestAug 24, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fregantefregantefregante left review comments

+1 more reviewer

@RichienbRichienbRichienb requested changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Memoized methods of the same instance are mixed

4 participants

@bencehornak@sindresorhus@fregante@Richienb

[8]ページ先頭

©2009-2025 Movatter.jp