Ben Hollis · @bhollis
58 followers · 112 posts · Server mstdn.social

Starting to play around with Lit for a custom element project I’ve started, but I don’t think I can handle going back to class components after having experienced React hooks. The ability to extract complex behaviors into reusable hooks is just too useful. I would rather avoid class-based code where possible.

#webcomponents #customelements #lithtml

Last updated 2 years ago

Zacky Ma :favicon: · @zacky
32 followers · 220 posts · Server m.marchbox.com

I wish there’s a way to assign text node to named slots. Right now you have to use the "default” slot to do so, e.g.

```
<my-comp>
<template shadowrootmode="open”>
<slot></slot>
</template>
</my-comp>

<my-comp>Some text</my-comp>
```

But sometimes I need to assign different pieces of text to different slots and they don't necessarily need any semantics. Using `<div slot=“foo” role="none”>text</div>` doesn't feel right. Using attributes isn’t always clean either.

#customelements

Last updated 2 years ago

Like what if there was a library of for building ?

What if you built like

<mario-game>
<mario-controls>
<mario-button button=a action=jump>
<mario-level>
<mario-block has=mushroom>
<mario-pipe>

You could build new levels with nothing but

#customelements #html #mario #videogames #webcomponents

Last updated 2 years ago

Serhii Kulykov · @kulykov
378 followers · 190 posts · Server fosstodon.org

📢 in 2023: February update.

- 16.4 beta release new features
- for Web Components
- and news

webcomponents.today/2023-02-up

#webcomponents #safari #interop2023 #react #customelements

Last updated 3 years ago

Sasha Firsov · @Suns
13 followers · 141 posts · Server fosstodon.org

If you think the templating worth improvement, please take your vote or opinion on proposal

discourse.wicg.io/t/proposal-f

#html #WICG #webcomponents #customelements

Last updated 3 years ago

Serhii Kulykov · @kulykov
376 followers · 187 posts · Server fosstodon.org

📢 bookmarks update: .
If you're already familiar with basics, do check it out.
You'll find some useful tips and things to consider.

webcomponents.today/api-design

#webcomponents #api #design #customelements #shadowdom

Last updated 3 years ago

Estelle Weyl · @estelle
1460 followers · 262 posts · Server front-end.social

If you want to learn how to write native custom elements, no framework, I wrote a thing. A pretty excellent thing.

web.dev/learn/html/template/

#customelements #vanillajs #webcomponents #learntocode #shadowdom #shadowroot #html #css

Last updated 3 years ago

Ryosuke Niwa · @rniwa
107 followers · 36 posts · Server mastodon.social

What else is missing from shadow DOM / custom elements API? Accessibility support needs to be improved and selection API needs to be added but anything else?

#webcomponents #shadowdom #customelements

Last updated 3 years ago

David LACOURT · @david_lacourt
32 followers · 8 posts · Server mamot.fr

J'ai joué avec les . Je suis partis sur l'option / , plutôt que et . C'est bien parti, mon objectif est de fédérer dans mon blog tous mes projets persos... là j'ai un blog en , qui intègre un QR Code , et une app . 🤹‍♀️

L'article est en mode brouillon, je vais l'étoffer mais la démo est live : lacourt.dev/2023/01/21

#MicroFrontends #customelements #webcomponents #webpack #ModuleFederation #sveltekit #stenciljs #angularelements

Last updated 3 years ago

Serhii Kulykov · @kulykov
359 followers · 170 posts · Server fosstodon.org

📢 Web Components bookmarks project finally got a proper Home page! 🎉

- Projects about Web Components that I recommend,
- Other projects I'm proud to be part of.

Check it out and please to spread the word if you like the project!

My goal is to make it an ultimate knowledge base about , and other standards.

webcomponents.today

#opensource #boost #customelements #shadowdom #webcomponents

Last updated 3 years ago

Serhii Kulykov · @kulykov
359 followers · 170 posts · Server fosstodon.org

📢 Web Components bookmarks project finally got a proper Home page! 🎉

- Featured projects related to ,
- Other projects I'm proud to be part of.

Check it out and please to spread the word if you like the project!

My goal is to make it an ultimate knowledge base about , and other standards.

webcomponents.today

#webcomponents #opensource #boost #customelements #shadowdom

Last updated 3 years ago

Serhii Kulykov · @kulykov
359 followers · 170 posts · Server fosstodon.org

📢 Web Components bookmarks project finally got a proper Home page! 🎉

- Featured projects related to ,
- Other projects I'm proud to be part of.

Check it out and please to spread the word - especially if you use and .

webcomponents.today

#webcomponents #opensource #boost #customelements #shadowdom

Last updated 3 years ago

Serhii Kulykov · @kulykov
358 followers · 170 posts · Server fosstodon.org

📢 Web Components bookmarks project finally got a proper Home page! 🎉

- Featured projects about
- Other projects I'm proud to be part of.

Check it out and please to spread the word - especially if you use and .

webcomponents.today

#webcomponents #opensource #boost #customelements #shadowdom

Last updated 3 years ago

Serhii Kulykov · @kulykov
356 followers · 169 posts · Server fosstodon.org

Upgraded bookmarks to @eleventy 2.0 beta and it went super smooth! Excited about the package-lock.json getting smaller as a result.

Also, added the feed - subscribe for monthly updates on , and other related news (there's now a link in the footer):

webcomponents.today

#webcomponents #rss #customelements #shadowdom

Last updated 3 years ago

Serhii Kulykov · @kulykov
356 followers · 169 posts · Server fosstodon.org

Upgraded bookmarks to @eleventy 2.0 beta and it went super smooth! Excited about the package-lock.json getting so much smaller.

Also, added the feed - subscribe for monthly updates on , and other related news (there's now a link in the footer):

webcomponents.today

#webcomponents #rss #customelements #shadowdom

Last updated 3 years ago

Serhii Kulykov · @kulykov
356 followers · 169 posts · Server fosstodon.org

Upgraded bookmarks to @eleventy 2.0 beta and it went super smooth! Excited about the package-lock.json getting so much smaller.

Also, added the feed - subscribe for monthly updates on and related things (there's a link in the footer):

webcomponents.today

#webcomponents #rss #customelements #shadowdom

Last updated 3 years ago

Serhii Kulykov · @kulykov
356 followers · 169 posts · Server fosstodon.org

bookmarks got a new category: Testing Helpers! Here you can find a few useful libraries that make and easy:

webcomponents.today/testing-he

#webcomponents #testing #customelements #shadowdom

Last updated 3 years ago

Serhii Kulykov · @kulykov
355 followers · 167 posts · Server fosstodon.org

bookmarks got a new category: Testing Helpers! Here you can find useful libraries that make and easy:

webcomponents.today/testing-he

#webcomponents #testing #customelements #shadowdom

Last updated 3 years ago