westbrook, to CSS
@westbrook@mastodon.social avatar

The #webComponentsCommunityGroup is holding some breakout sessions later this month to support digging into Open Styleable Shadow DOM https://github.com/w3c/webcomponents-cg/issues/78 and Declarative Custom Elements/HTML-in-JS/HTML Modules https://github.com/w3c/webcomponents-cg/issues/79. If you're interested in these topics, come share your thoughts on use cases, proposals, and more as we gather developer desires/needs to share with browser implementors in April.

#webComponents #customElements #shadowDOM #CSS #webDev #webComponentsCG

DavidDarnes, to mastodon
@DavidDarnes@mastodon.design avatar

New addition to my #WebComponents collection: <mastodon-post>!

Embed mastodon posts on your web pages by progressively enhancing a regular link and without the need for an <iframe>. Use the built in semantic template or apply your own! Read more about it here:
https://darn.es/mastodon-post-web-component/

#InideWeb #Webmentions #Mastodon

Thanks to @robb and @mariohamann for the inspiration ✨

nolan, to random
@nolan@toot.cafe avatar

New blog post: "Web component gotcha: constructor vs connectedCallback" https://nolanlawson.com/2024/01/13/web-component-gotcha-constructor-vs-connectedcallback/

This is just a quick post on a #webcomponents anti-pattern that I've seen countless times.

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

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Newly added to my collection: <link-peek>!

Turn any regular anchor link into a rich preview (also known as an ‘unfurled’ link). Can be used with any JSON API and allows for custom templating.

Prefect for creating more visual interest on links without filling the page with additional HTML noise:

✍🏻 https://darn.es/link-peek-web-component/
📦 https://www.npmjs.com/package/@daviddarnes/link-peek

spaceninja, to webdev
@spaceninja@mastodon.cloud avatar

#HTML #WebComponents are having a moment, y'all! I believe we're living through a rare moment in front-end, an inflection point that we'll look back at in the future and say "that's when it changed!" https://cloudfour.com/thinks/html-web-components-are-having-a-moment/

enhance_dev, to webassembly

🎉 Introducing Enhance WASM

Say hello to Enhance WASM — backend agnostic server-side rendering for web components.

by @brianleroux

https://begin.com/blog/posts/2024-04-08-introducing-enhance-wasm

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar
ayo, to webdev
@ayo@ayco.io avatar

🎉 Here it is! https://WebComponent.io

A zero-dependency, ~600 Bytes (minified & gzipped), JS base class for creating reactive custom elements easily.

#WebComponents #webdev #frontend #sideProjects #software #opensource #foss

zachleat, (edited ) to random
@zachleat@zachleat.com avatar

Send me your favorite standalone web components!

(I’m making a thing!)

#WebComponents

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

In the intersect between @zachleat sharing his #WebComponents, @adactio talking about declarative sharing buttons and all y'all (gestures vaguely at blogs and Mastodon) talking about ‘HTML Web Components’ there lies me and my urge to noodle around with small bits of #JavaScript.

So here's my first open source Web Component, <share-button>:
https://darn.es/share-button-web-component/

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Posting up another one of my today. Sort of a unique one this time, but I think it'll be useful for people who want to put together something like website user preferences or create small applications.

<storage-form> is a Web Component to allow regular form elements to interact with the browsers local storage. Wrapping this component around a <form> with <input> elements instantly allows you to add, edit and remove data within local storage:

https://darn.es/storage-form-web-component/

westbrook, to random
@westbrook@mastodon.social avatar

The is currently doing research for its 2023 APIs and Specs Report by looking into the following (alphabetical):

  • Cross-root Aria
  • Custom Attributes
  • Custom Enhancements
  • Declarative CSS Modules
  • DOM Parts
  • Element behaviors
  • Form-Associated Custom Elements (as well as making them submit buttons)
  • :has-slotted
  • Open styling of shadow roots
  • Scoped Element Registries

If you're interested in any of these and more, join the convo: https://discord.gg/YmrNQ4rYJz

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

jrjurman, to webdev
@jrjurman@fosstodon.org avatar

Inspired by Github's callout elements, I published a native web component for adding your own Callout Alerts in HTML! 🎉

https://github.com/JRJurman/callout-alert

It's customizable with both CSS Variables and slot elements, and comes with an icon library for any icon you might want! 🔧

After a full year working on a library to build Web Components, this is admittedly the first one I've published outside of any specific project, but it won't be the last! 😁

#TramLite #WebComponents #WebDev #HTML

hawkticehurst, to webdev
@hawkticehurst@fosstodon.org avatar

While the term “HTML Web Components” is fresh out of the oven, the architecture it refers to has been sitting on the counter at room temperature for a while. In this post I offer my insights and musings from a year of working with these components.

Using HTML web components (esp with tools like @astro) has been a deeply refreshing and encouraging method of building interactive UI. I think it really has the potential to change how we build the web.

#HTML #WebComponents

https://hawkticehurst.com/writing/a-year-working-with-html-web-components/

vanilla, to webdev
@vanilla@social.spicyweb.dev avatar

All right nerds, we got some 🌶️ spicy content on the blog for you today! 🤓

A writeup and code/demos all about server-rendering via in three popular flavors: , , and !

Also a ton of thoughts about the future of these technologies and how to promote a portable view layer of web applications in an -first world.

Take a peek and then hop in our Discord to chat more about all these groovy features!

https://www.spicyweb.dev/web-components-ssr-node/

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/

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

davatron5000, to random
@davatron5000@mastodon.social avatar

📝 New post: If are so good, why am I not using them?

https://daverupert.com/2023/07/why-not-webcomponents/

westbrook, to random
@westbrook@mastodon.social avatar

Oh, you say you're interested in expanded APIs around controlling the way styles flow into your #shadowRoot? Well, have I got some meeting notes for you!

https://github.com/w3c/webcomponents-cg/issues/78#issuecomment-1969671868

Checkout the discussion by the #webComponentsCG about styling #webComponents in new and more fluent ways. We're gathering use cases to share with browser implementors, so if you've got one, join the conversation in Discord https://discord.gg/ZT7QDsG2kT or in a future breakout to support getting it addressed. 🧑🏼‍🎤

opdavies, to random
@opdavies@mastodon.social avatar

After speaking with Mark Conroy, I've been experimenting with web components.

https://www.oliverdavies.uk/archive/2024/02/29/experimenting-with-web-components

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

My friend from my Nord design system days @WickyNilliams has created a set of for displaying calendars called ‘cally’.

You should definitely check it out:
https://wicky.nillia.ms/cally/

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/

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

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