-
Notifications
You must be signed in to change notification settings - Fork 1k
[lit/react] Fix event binding erroneously being set on custom element instance #4572
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: eee2730 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📊 Tachometer Benchmark ResultsSummarynop-update
render
update
update-reflect
Resultsthis-change
render
update
update-reflect
this-change, tip-of-tree, previous-release
render
update
nop-update
this-change, tip-of-tree, previous-release
render
update
this-change, tip-of-tree, previous-release
render
update
update-reflect
|
|
The size of lit-html.js and lit-core.min.js are as expected. |
justinfagnani
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! 🎉
|
Benchmarks workflow failure should be fixed by #4573 |
stefanpearson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing! I didn't expect a fix so quickly, you outpaced my workaround PR. I'm also glad I'm, in fact, not insane. 🙌
|
Hey @augustjk 👋 , what is the release schedule for pushing out a new version? |
|
@stefanpearson Sorry for the delay. It has just now been published! |
Thanks! |
Fixes #4569
We now correctly early return when an event prop binding contains the same value across re-renders, instead of moving on to setting it on the underlying element instance.