-
Notifications
You must be signed in to change notification settings - Fork 879
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lit-html] Fix
ref
bug when auto-bound class method used as as call…
…back (#2691) * [lit-html] Key "last element" map on context in addition to callback * Add changeset * Flip order of context and callback lookups * Add lit to changeset * Update .changeset/short-cooks-deliver.md Co-authored-by: Andrew Jakubowicz <spyr1014@gmail.com> * Updates based on feedback Co-authored-by: Andrew Jakubowicz <spyr1014@gmail.com>
- Loading branch information
1 parent
f78b4cc
commit 171143b
Showing
3 changed files
with
94 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'lit-html': patch | ||
'lit': patch | ||
--- | ||
|
||
Fixes `ref` bug when auto-bound class method used as a callback could incorrectly receive `undefined`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters