-
Notifications
You must be signed in to change notification settings - Fork 878
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
Ensure renderRoot exists before first update #4387
Ensure renderRoot exists before first update #4387
Conversation
Fixes lit#4268. Ensures `renderRoot` exists before first update. It's created upon first connection by default (so that it exists before controllers' `hostConntected`), but this change supports early calls to `performUpdate`/`enableUpdating` without depending on connection.
🦋 Changeset detectedLatest commit: e9496e2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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. |
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.
Thank you. This looks good to me. Just some small nits.
The size of Lit will also need to be updated per the comment: #4387 (comment)
.changeset/slow-singers-compare.md
Outdated
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.
This file can be deleted please. It's superseded by pink-maps-exercise.md
.
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.
Done.
Fixes #4268. Ensures
renderRoot
exists before first update. It's created upon first connection by default (so that it exists before controllers'hostConntected
), but this change supports early calls toperformUpdate
/enableUpdating
withoutdepending on connection.