enhance · @enhance_dev
433 followers · 124 posts · Server fosstodon.org

๐Ÿ–ผ๏ธ Shadow DOM: Not by Default

Why doesn't Enhance advocate for diving straight into the shadow DOM, and how could you even write web components without using the shadow DOM?

by @macdonst

begin.com/blog/posts/2023-08-1

#webcomponents #shadowdom

Last updated 1 year ago

But are which they would need to load *somehow*. Assuming we could get them to bundle it they'd still be giving our script free reign to manipulate the page anyway we see fit. We currently rely on some hacks to achieve isolation without but other than that I'm not certain a would improve anything.

#component #web #shadowdom #css #javascript #webcomponents

Last updated 1 year ago

Jared White · @jaredwhite
1712 followers · 2337 posts · Server indieweb.social

For folks who like Hotwire Turbo 7 _and_ also like Declarative , you absolutely need this:

github.com/whitefusionhq/turbo

Latest release just tested, now supporting the new standard `shadowrootmode`.

Enjoy!

#webcomponents #webdev #shadowdom

Last updated 1 year ago

Peponi · @pep0ni
59 followers · 668 posts · Server swiss-chaos.social
Inautilo · @inautilo
106 followers · 264 posts · Server mastodon.social


How Shadow DOM and accessibility are in conflict ยท The current situation and what needs to happen next ilo.im/11add1 ยท by @sundress

_____

#development #challenges #webdevelopment #webdev #webcomponent #shadowdom #accessibility #a11y #html #aria

Last updated 1 year 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 1 year ago

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

People complain about the complexity of shadow DOM today but let's remember that the original v0 API had multiple generations of shadow roots per host and ability to include an older shadow root via <shadow> element.

#shadowdom #webcomponents

Last updated 1 year ago

Elwin van Eede · @elwinvaneede
105 followers · 111 posts · Server mas.to

Itโ€™s so nice that Playwright has Testing Library style locators that actually work with Shadow DOM. One of the defining factors for us to choose Playwright over Cypress (the other being performance).

#shadowdom #webcomponents #testinglibrary #playwright

Last updated 1 year 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 1 year ago

Inautilo · @inautilo
101 followers · 227 posts · Server mastodon.social
Ryosuke Niwa · @rniwa
107 followers · 36 posts · Server mastodon.social

There are honest reasons that people started using and still use ; I lived through Angular, and Backbone don't try to tell me there weren't reasons!

I still think we should re-evaluate those reasons, because things have changed; we have now, etc.

I don't care about web performance, I just want to build websites with a team of people and not have a bunch of indeterminate UI behavior. React delivered the hell out of that, can the post-React stack?

#shadowdom #webcomponents #esmodules #reactjs

Last updated 1 year 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 1 year 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 2 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 2 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 2 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 2 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 2 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 2 years ago