nolan, to random
@nolan@toot.cafe avatar

Good news for #webcomponents: Chromium fixed a perf bug for repeated stylesheets in shadow DOM: https://issues.chromium.org/issues/341327461

categulario, to vuejs Spanish
@categulario@mstdn.mx avatar

Hagan sus apuestas, ¿podré hacer una transición suave y por partes entre #vuejs 2.5 y #webcomponents ?

averíguelo en el próximo capítulo de #ArqueologíaDeSoftware

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Incase you were wondering:

  • HTMLElement is still the only class you can extend (because Safari)
  • <slot> only works within Shadow DOM

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Very clear pattern forming in a few of my #WebComponents, creating a <template> element outside of the component code itself for reduced repetition and performance. I'm effectively polyfilling for Declarative Shadow DOMs inability to be defined once for many instances. Though I guess I'm also polyfillnig for a lack of “Declarative Light DOM" too 🤔

DavidDarnes,
@DavidDarnes@mastodon.design avatar
nhoizey, to random French
@nhoizey@mamot.fr avatar

““Web components” considered harmful” by @mayank

🔗 https://www.mayank.co/blog/web-components-considered-harmful

> This is a branding problem as much as it is an education problem. Neither the HTML standard nor the DOM standard mentions the term “web components” anywhere. And yet it’s present everywhere in documentation and learning material.

#WebComponents

⚓️ https://nicolas-hoizey.com/links/2024/05/29/web-components-considered-harmful/

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar
slightlyoff, to random
@slightlyoff@toot.cafe avatar

One of the teams I've been working with to climb the performance management maturity ladder is...Edge!?!

We build a lot of the browser out of web "stuff" these days (think bookmarks, history, downloads, settings, new-tab-page, etc.), and moving away from React to a modern Web Components + HTML-first architecture has had a huge benefit for users, particularly folks on low-end hardware:

https://blogs.windows.com/msedgedev/2024/05/28/an-even-faster-microsoft-edge/

josh, to microsoft
@josh@vickerson.me avatar

Parts of get up to 76% faster by dropping in favor of Web Components.

React's days may finally be coming to an end 🤞

https://blogs.windows.com/msedgedev/2024/05/28/an-even-faster-microsoft-edge/
————

davatron5000, to random
@davatron5000@mastodon.social avatar

📝 Quick post on a common experience I see when people are test-driving for the first time.

https://daverupert.com/2024/05/cold-turkey-wont-fix-your-javascript-addiction/

mobileatom, to random
@mobileatom@flipboard.com avatar
DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Does anyone have any #WebComponents “gotchas” that they wish they knew when getting into them?

cirrus, to webdev
@cirrus@mstdn.social avatar

Started writing a decision log for our #DesignSystem. Documenting why we chose to build plain ol' #HTML and #CSS where we can and #WebComponents where client-side #JS is needed is turning into a bit of a manifesto. Essentially we're using (and encouraging others to use) #ProgressiveEnhancement 😉

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

New Web Component! <live-filter>

A Web Component for filtering items using a text input. Made this for a friend a while back and thought I should wrap it up into a neat package to go alongside my other .

I'll get a write up done soon but for now here's the GitHub repo and npm package:
📂 https://github.com/daviddarnes/live-filter
📦 https://www.npmjs.com/package/@daviddarnes/live-filter

DavidDarnes,
@DavidDarnes@mastodon.design avatar

Updated <live-filter> with a case attribute option so filtering doesn’t have to match capitalisation

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

80 GitHub stars on my starter template 😳
https://github.com/daviddarnes/component-template

hawkticehurst, to random
@hawkticehurst@fosstodon.org avatar

New post: Bring your own base class

The discussion over on a thread by @chriscoyier spurred me to respond in the form of a blog post (and also finally add the seventh installment of the web component series I started in December).

I talk about how building dependency-free #WebComponents that last a life time does not have to mean a bad developer experience.

https://hawkticehurst.com/writing/bring-your-own-base-class/

chriscoyier, to random
@chriscoyier@front-end.social avatar

jQuery plugins depended on jQuery, and when jQuery went out of favor, they ended up in the junkyard.

There is all sorts of componentry built exclusively on React, limiting it to React-based sites. As React goes out of favor, they will end up in the junkyard. (Same with any framework-specific extension.)

But with Web Components... it seems like the story will end differently. If they are built without dependencies, they might just live as long as the web does.

DavidDarnes,
@DavidDarnes@mastodon.design avatar

@cferdinandi @chriscoyier I’m afraid that’s how the community works. Nobody is really going to get hyped about my handful of tiny Web Components, they’re getting doughy-eyed at the big shiny frameworks. And I’m kinda ok with that. If Web Awesome helps Web Components attain a bigger audience then great. At least then more people get to appreciate a slice of the benefits to

MaxArt2501,
@MaxArt2501@mastodon.social avatar

@chriscoyier I think that, more than just a "dependency", jQuery for jQuery plugins is a prerequisite. Just like React is for React component libraries.

OTOH, Web Component libraries have Lit (or FAST or Stencil...) as a "real" dependency, meaning they uses it for reactivity and such. Even if Lit goes out of favor, the components built with it will always be usable in whatever environment. That's a key difference.

evangelos, to random
@evangelos@libretooth.gr avatar

What is behind the perceived complexity of #webcomponents as a web standard?

Is there an article that addresses the reasons behind its design decisions?

MaxArt2501, to javascript
@MaxArt2501@mastodon.social avatar

A response to @cferdinandi 's recent post(s) on JavaScript and Web Components:
https://dev.to/maxart2501/javascript-is-not-the-problem-k4e

I know he didn't explain his position in details, so a 1800-word article sounds a little unfair, but I think dry and sharp statements need adequate context and analysis.

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

#WebComponents question: Who are you reading, watching or listening to when you want to know more about Web Components?

DavidDarnes,
@DavidDarnes@mastodon.design avatar

Also looking for juicy resources for #WebComponents. Let me know of any that you valued 😊

DavidDarnes, (edited )
@DavidDarnes@mastodon.design avatar

Thanks everyone for your people and resources recommendations! If you have any other recommendations let me know, thank you.

Watch this space as I'll be posting a bit more myself on the subject through the zeroheight blog and our other resources:

Blog: https://zeroheight.com/blog/
RSS: https://zeroheight.com/blog/feed
Resources: https://zeroheight.com/resources/

patrickfulton, to random
@patrickfulton@mastodon.social avatar

Hey #WebComponents folks: we just opened a senior staff engineer role on the Adobe Spectrum team to help lead development of the Spectrum Web Components project. Come work with me and wonderful, smart folks like @jnjosh, @garthdb, @castastrophe and others! #getfedihired https://adobe.design/jobs/job-posts/prototyping-and-engineering/r145802-sr-staff-design-engineer

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines