DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Pretty cool you can use GitHub repos as @stackblitz templates. With this link you can immediately start making a Web Component using my template:
https://stackblitz.com/~/github.com/daviddarnes/component-template?file=component-name.js&initialPath=/demo.html

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

Do work?
Ask Adobe, Amazon, Apple, AXA, Blizzard, Dell, EA, Ford Motors, General Electric, General Motors, GitHub, GitLab, Google, IBM, ING, Microsoft, NASA, Netlify, Reddit, Red Hat, Salesforce, Siemens, Stripe, Telekom, Ubisoft, Visa, Volkwagen, Vonage, YouTube…

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Looking for people in the community that don't look like they'd fit into that Guys at Wimbledon meme

webstandards, to browsers
@webstandards@mastodon.world avatar

We have 2 more speaker to announce for this year's State of the Browser but you're going to have to wait to hear about those.
https://2024.stateofthebrowser.com/speakers/
#SotB2024
#WebComponents
#WebMidi #WebAudio
#FluidTypography #FluidLayout #FluidSpacing
#Browsers #Funding
#A11y #accessibility
@DavidDarnes
@katiefenn
@Richr
@seaotta
@SteveFaulkner

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

State of the Browser hosted by @webstandards in September is shaping up really nicely. The speakers and their talks sound super interesting.

Also, I'll be speaking there about how and why I've been building my open source :
https://2024.stateofthebrowser.com

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.

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

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar
DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Would anyone like to test out a new Web Component I’ve been working on? It’s for enhancing code blocks on web pages

macdonst, to random
@macdonst@mastodon.online avatar

Today is the last day for @scottjehl kickstarter for his upcoming course “Web Components Demystified”. You can still get in on the early bird pricing.

https://www.kickstarter.com/projects/scott-jehl/web-components-demystified

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

New Web Component! <contrast-details>

A Web Component for revealing the contrast ratio and level of two colours set using CSS Custom Properties.

Here's the origin story: https://zeroheight.com/blog/color-contrast-with-web-components/

DavidDarnes,
@DavidDarnes@mastodon.design avatar

I also have a more technical article showing how the <contrast-details> Web Component works on my own blog:
https://darn.es/contrast-details-web-component/

nolan, to random
@nolan@toot.cafe avatar

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

nolan,
@nolan@toot.cafe avatar

This is interesting to me because it makes it much more viable to build a polyfill for the "open-stylable" proposal: https://github.com/WICG/webcomponents/issues/909

Basically, if you want to have (say) a bootstrap.css which is referenced inside multiple shadow roots, previously you'd run into a gnarly perf cliff (I measured ~160x perf degradation just for 100 shadow roots). This is now fixed!

nolan,
@nolan@toot.cafe avatar

I'll also point out that this is why it's important to test in multiple browsers. A lot of people will run some perf experiment in Chrome, find it's slow, and conclude "OK, I guess the web is just slow at this."

But if you test Safari and Firefox and find they're fast, then congrats! You have a perf bug you can file on Chrome. I filed it and it got fixed 2 weeks later.

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

categulario,
@categulario@mstdn.mx avatar

update: ¡sí se puede! la prueba preliminar es que puedo ir convirtiendo componentes pequeños uno a uno. Ya probé los atributos y ahora siguen los eventos.

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

macdonst,
@macdonst@mastodon.online avatar

@DavidDarnes I'd love your feedback on our Light DOM baseclass that emulates slotting.

Repo: https://github.com/enhance-dev/enhance-custom-element
Demo: https://codepen.io/macdonst/pen/MWLjpqK

DavidDarnes,
@DavidDarnes@mastodon.design avatar

@macdonst I’ve bookmarked this to look at tomorrow!

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Very clear pattern forming in a few of my , 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.

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

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