Web Component tips by @lamplightdev. Writing a short & sweet summary of the week's #webcomponents news https://xitter.cf/t.co/PeIQLfuLWJ @lamplightdev@mastodon.social

UK
Joined August 2020
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
Replying to @killyourselfelo
"you can't access the shadowRoot from the connectedCallback" why not?
1
60
Very much looking forward to playing with this!
Almost there 😄 SWTL will be able to SSR custom elements. The customElementRenderer is pluggable, so it supports @buildWithLit , but could probably support @enhance_dev `CustomElement`s as well, or other custom element renderers
4
422
I think this is great news. The core components will remain free and open source, but there's now a business model that will ensure the project gets the investment it needs and deserves to continue to be developed and maintained into the future! Happy to be a backer.
This quoted post is unavailable.
8
448
What's the closest thing to Remix/Next for web components?
2
264
Replying to @PatrickJS
I suppose you could do something similar with a server side web component - but is the attraction of RSC that this would also work as a client side component too?
1
2
51
Replying to @PatrickJS
Yeah, styling can be an issue, although I think there are discussions around enabling some kind of slot behaviour with light dom
1
2
44
Did you know you can stream HTML out of order without any JavaScript at all? A put a little blog post together explaining how: lamplightdev.com/blog/2024/0… See a demo: ooo.lamplightdev.workers.dev… Supported in Chrome and Safari, and in Firefox in a month or two.
2
9
3
26
2,695