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

Do #WebComponents 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
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/

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 , 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 🤔

josh, to microsoft
@josh@vickerson.me avatar

Parts of #Microsoft #Edge get up to 76% faster by dropping #React 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/
————
#WebDev #WebComponents

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/

#webcomponents #webperf #usetheplatform #sorrynotsorry

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 “gotchas” that they wish they knew when getting into them?

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 #WebComponents.

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, 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/

evangelos, to random
@evangelos@libretooth.gr avatar

What is behind the perceived complexity of 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

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

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

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

New Web Component! <random-source>

"The random-source Web Component allows you to cycle randomly through different audio or video sources, utilising existing HTML elements and providing an elegant fallback experience.”

https://darn.es/random-source-web-component/

pablolarah, to webdev
@pablolarah@mastodon.social avatar

💡🌖 But what about the shadow DOM?
by Chris Ferdinandi @ChrisFerdinandi @cferdinandi
#WebComponents #shadowDOM #webdev

https://gomakethings.com/but-what-about-the-shadow-dom/

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

The #StateOfHTML 2023 results are finally out!

Enjoy insights from 22K responses about the state of the web platform, from HTML and interactivity to #webcomponents, PWAs, and a lot more.

This project is a monumental effort from people across the world. We even designed novel data collection UIs to gather the data we needed while minimizing friction, which I plan to write a case study about soon.

https://2023.stateofhtml.com/en-US

pablolarah, to webdev
@pablolarah@mastodon.social avatar

🟢The wrong way to do Web Components
by Chris Ferdinandi @ChrisFerdinandi @cferdinandi
#WebComponents #webdev

https://gomakethings.com/the-wrong-way-to-do-web-components/

cssbasics, to random
@cssbasics@hachyderm.io avatar

More ways to instantiate #WebComponents: "Last week, we looked at different ways to setup the HTML in a Web Component. One of the challenges with running your code in the constructor() is that sometimes the custom element is created, but none of the nested HTML inside it is ready yet. We looked at a few different ways to fix that, but today, I wanted to share two more. Let’s dig in!" https://gomakethings.com/more-ways-to-instantiate-web-components/

tylersticka, to wordpress
@tylersticka@social.lol avatar

I still have all of these issues with WordPress and portable patterns: https://cloudfour.com/thinks/wordpress-blocks-portable-patterns-and-pain-points/

But, it’s really heartening to see what the @enhance_dev project is doing to break down those barriers, as detailed here by @ryanbethel: https://begin.com/blog/posts/2024-05-03-portable-ssr-components

(I’ve updated my article to include a link.)

#WordPress #PHP #WebComponents #WebDev

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