-
Notifications
You must be signed in to change notification settings - Fork 1k
[labs/ssr] Make FallbackRenderer not emit a shadow root #3590
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
|
| Name | Type |
|---|---|
| lit-html | Patch |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
📊 Tachometer Benchmark ResultsSummarynop-update
render
update
update-reflect
Resultslit-element-list
render
update
update-reflect
lit-html-kitchen-sink
render
update
nop-update
lit-html-repeat
render
update
lit-html-template-heavy
render
update
reactive-element-list
render
update
update-reflect
|
aomarks
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.
Test
|
@aomarks PTAL, but I can't get the Sauce test runners passing. There's a persistent error about the |
augustjk
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.
LGTM
|
@aomarks tests seem to be ok now |
aomarks
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!
Fixes #3587
The bug was that FallbackRenderer didn't return
undefinedfromrenderShadow()- as a generator it returns an empty iterable. The fix is done by making a default implementation ofrenderShadow()in ElementRenderer that returns undefined and removing the FallbackRenderer implementation. I did that for other callbacks too and updated some comments.No updated tests just yet, I'll add that in a bit.