question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nested Custom Element slots are never rendered

See original GitHub issue

This is more of an observation that anything at this point. I have been doing some digging into some CustomElement issues that have surface through a Svelte 2 -> 3 migration. One thing I noticed is that this.$$.slotted found here doesn’t ever seem to be set. Is there something obvious I am missing?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:16

github_iconTop GitHub Comments

12reactions
mlawdcommented, Jan 21, 2021

Is there any update on this? Trying to get my team to move to using Svelte for custom elements but it’s an absolute no-go whilst this is still open

7reactions
matt-shinecommented, Feb 12, 2020

This is a major break that’s keeping me from migrating to Svelte 😦

We dropped svelte because of this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nested Custom Elements in Aurelia not rendering as expected
Let me preface this answer by saying that content projection is changing completely (and for the better) in Aurelia RC1. We are moving...
Read more >
Read Web Components | Leanpub
Web components are a set of standards to make self-contained components: custom HTML-elements with their own properties and methods, encapsulated DOM and styles ......
Read more >
Custom Element Best Practices - web.dev
Custom elements let you construct your own HTML tags. This checklist covers best practices to help you build high quality elements.
Read more >
Web Components: from zero to hero - DEV Community ‍ ‍
The Custom Elements api allows us to author our own DOM elements. ... images don't load, and styling/mark up is not rendered.
Read more >
Evan You on Twitter: "Coming soon: Core API for turning any ...
Works with most Vue APIs including props, emits, and even provide/inject between nested Vue custom elements. Slots will render as native slot ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found