@stefanfrede the #webComponentsCG is working through some early conversation around #declarativeCustomElements and a further reduction of JS in interactive web applications. Come join the convo! https://discord.gg/hFNrXAdz
Join the Web Components Discord Server!

Check out the Web Components community on Discord - hang out with 333 other members and enjoy free voice and text chat.

Discord

I see “actions” as a primitive for custom elements.

For example, the `<dialog>` element have `showModal`, `show`, `open`, `close`; popovers have `togglePopover`, `hidePopover`, `showPopover`; and so on.

For declarative custom elements, we need a way to describe actions. An action might set CSS custom state or internal ARIA or set a form value or have effects on other elements inside (or outside?) of a shadow tree.

Actions then become something we can map events to or become something that invokers can target.

Perhaps if actions are abstract enough, we can reuse them between custom elements and attributes too — or tap into actions that exist in built-in elements.

#WebComponents #DeclarativeCustomElements

@mayank “HTML modules” as a macro is such a cool idea. I agree 100% that it’s a place we should focus in on things like this. The #webComponentsCG sees this as a big next step towards clarifying #declarativeCustomElements API. Converting your blog to an explainer would be a great next step.

Disclaimer: in a recent meeting with implementors we agreed that Cross Root Aria and Scoped Custom Element Registries are of higher priority. Having solid plans for #HTMLModules when they get done will be 🔥

@knowler What did it do? Can we learn from it for #declarativeCustomElements?

The amount of really good stuff proposed in the 2011-2013 timeline is kind of amazing. Hopefully with the number of things that were "impossible" then (across CSS, JS, and HTML), but are _shipping_ now, we can get even more velocity around bringing some long standing requests for custom elements, et al!

@TheWebTech come join the conversation with the #webComponentsCG where we are looking to solve these problems with #declarativeCustomElements, right now!

https://www.w3.org/community/webcomponents/

Web Components Community Group

<p>This group is for collaboration between people working on web components libraries, tools, documentation and standards. </p><p>We will work together on projects of shared interest in order to enhance interoperability, solve common problems, build shared community resources, and ultimately continue to grow a cooperative, productive, and happy web components ecosystem. </p><p>Areas we expect to work on include gap analysis, design principles, common protocols, discoverability and quality, documentation, tooling, and more. </p>

@konnorrogers @brad_frost Good thing we're working on #declarativeCustomElements at the #webComponentsCG... Browser implementors are also interested in finding solutions to:

> What would be awesome is to be able to simply wire Web Components up and have them Just Work, even if JS fails for whatever reason.

Exciting times!

And then another Demo Day is done!! Learn more about proposals for the future of #declarativeCustomElements here: https://github.com/w3c/webcomponents-cg/issues/84#issuecomment-2018598166

The #webComponentsCG is looking hard into the work to bring the future of #webComponents to life. If that's your bag, come join in the discussion: https://discord.gg/kbba8cKPg9

Thanks for all the great demos over the last couple of weeks from @jaredwhite @justinfagnani @jrjurman @trusktr Rob Eisenberg, Sasha Firsov, Jochen Kühner, and more! 🙇🏻‍♀️ 🙇 🙇🏽‍♂️

Declarative Web Component Proposal Demos - March 2024 · Issue #84 · w3c/webcomponents-cg

@trusktr has gotten everyone started with gathering proposals for demonstration when we gather back for March breakout via #80. Here we'll work on scheduling for one or more sessions of this. If yo...

GitHub

Lots of very interesting ideas today at the #webComponentsCG's #declarativeCustomElements Demo Days no. 1! 🔥

If you missed out, you can find more info at https://github.com/w3c/webcomponents-cg/issues/84

If you never want to miss out again, join the convo at https://discord.gg/s933rmKR9R

If you want to see Demo Days no. 2, share you availability and subscribe to https://calendar.google.com/calendar/u/0/[email protected]

See you there! 👋

#webDev #w3c #declarative #webComponents

Declarative Web Component Proposal Demos - March 2024 · Issue #84 · w3c/webcomponents-cg

@trusktr has gotten everyone started with gathering proposals for demonstration when we gather back for March breakout via #80. Here we'll work on scheduling for one or more sessions of this. If yo...

GitHub

@davatron5000 Use cases, share your use cases! Use cases for #declarativeCustomElements (today's session) or #openStylableShadowRoots (next week's session) are all key to presenting to implementors in April. 🙇

Beyond that, whatever #webComponentsCG members are willing to contribute is a win. Helping gather/document the use cases you and others share; as well as prototypes/proposals. Testing those out and sharing your thoughts.

You help most by being you as often as possible for the community!

😅 Running meetings is not for the feint of heart. Running meetings where the gathering is discussing ways for ward for the web... an even more complicated endeavor! We're doing it at the #webComponentsCG, however!

Today we had a great session on #declarativeCustomElements and #htmlModules and more. Learn more about the discussion, here: https://github.com/w3c/webcomponents-cg/issues/79#issuecomment-1957721815

#webComponents #w3c #whtwg #html

Declarative Custom Elements/HTML Modules/HTML-in-JS - February 2024 · Issue #79 · w3c/webcomponents-cg

At the WCCG's February Meeting (#77), we resolved to hold a breakout session specifically focusing on gathering use cases and proposals to present to implementors in the April Quarterly Face-to-fac...

GitHub