[labs/ssr] Make FallbackRenderer not emit a shadow root#3590
[labs/ssr] Make FallbackRenderer not emit a shadow root#3590justinfagnani merged 11 commits intomainfrom
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
|
Co-authored-by: Augustine Kim <augustinekim@google.com>
|
@aomarks PTAL, but I can't get the Sauce test runners passing. There's a persistent error about the |
|
@aomarks tests seem to be ok now |
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.