Grist · @grist
3 followers · 3 posts · Server fosstodon.org
Sasha Firsov · @Suns
18 followers · 233 posts · Server fosstodon.org

@vanilla,
As of now the state is treated as 2nd class citizen by

. For now only state which is permitted on declarative syntax is either attributes or payload DOM. Which actually meant for visual and initial state, not the heavy-duty transactional model. If WC would be able to produce and consume the state without custom serialization, it would work on all tiers.

There is a proposal to make it a part of web stack.

Working on it as part of

#webcomponent #w3c #declarativewebapplication

Last updated 1 year ago

debugging is fantastic.

Step 1: Open [browser] DevTools.

Step 2: Debug.

No extension necessary.

#css #javascript #html #webdev #webcomponent

Last updated 1 year ago

Hasan Ali · @hasanhaja
15 followers · 229 posts · Server fosstodon.org

I should be finishing my post on web components but I've been carried away making the demo pretty and creating diagrams ๐Ÿ™ˆ

Also this is a little embarrassing, but I didn't know how to do flat box shadows until a couple days ago! Gonna put that on everything now ๐Ÿคฉ

#Excalidraw #webcomponent #webcomponents #webdev

Last updated 1 year ago

Rustie · @rusticola
3 followers · 126 posts · Server hachyderm.io

Iโ€™m looking for (the holy grail) of a performant, accessible date picker ideally as a or . The Scottish gov date picker seems to be pretty good - does anyone know of a better one? - designsystem.gov.scot/componen.

#webcomponent #vanillajs

Last updated 1 year ago

I've refactored the code in the original blog post into a fully fledged standalone

github.com/dpecos/mastodon-com

Hopefully that will make it easier to use and integrate into other websites, as it's relying on web standards.

It will also facilitate providing feedback, issues and peeking into latest changes.

Hope you'd like it!

#webcomponent

Last updated 1 year ago

Tane Piper · @tanepiper
1112 followers · 3655 posts · Server tane.codes
Jons Mostovojs · @jonn
374 followers · 5783 posts · Server social.doma.dev

The only thing share-on-mastodon.social/ lacks is the respect of URLs without protocol specified. I would assume https by default.

@micahilbery@mastodon.online

#webcomponent #javascript #mastodon

Last updated 1 year ago

thomas ๐ŸŒธ · @thomasreggi
295 followers · 886 posts · Server indieweb.social
thomas ๐ŸŒธ · @thomasreggi
292 followers · 868 posts · Server indieweb.social

I think I need to fork preact-render-to--string and get an return value that also includes a list of all elements used, specifically hyphenated web-components. Then I can conditionally add the the dependency to the page. (this is for a project)

cc thoughts @marvinh ?

github.com/preactjs/preact-ren

#deno #webcomponent

Last updated 1 year ago

thomas ๐ŸŒธ · @thomasreggi
292 followers · 867 posts · Server indieweb.social

I tried building simple-mde as a and the bundle is almost a meg... ๐Ÿ˜ญ

#webcomponent

Last updated 1 year ago

I work for a company that provides a service to businesses. We give them a <script> which they add to their sites which scrapes the looking for buttons to hijack with a popup form that then provides our service.

From day one this has felt like an awful hack. Not only does it add to the page's load time, but it causes jank as the scripts DOM manipulation takes effect after load.

Now they are making me work on it and all I want to do is replace it with a .

#javascript #webdev #webcomponent #dom

Last updated 1 year ago

Seth · @saluki
51 followers · 110 posts · Server fosstodon.org

Just gave Share on Mastodon a go, pretty neat.

Share on Mastodon
A really neat customizable "Share on Mastodon" button for your pages or posts

share-on-mastodon.social/

@micahilbery

#mastodon #javascript #webcomponent

Last updated 1 year ago

JRJurman · @jrjurman
22 followers · 34 posts · Server fosstodon.org

And this project has been a testing ground for a library that I've been building Tram-Lite. It's a simple view library, that is more inline with JSX, but is specifically made with vanilla in mind.

github.com/Tram-One/tram-lite

#webcomponent #javascript

Last updated 1 year ago

Nicolas Hoizey · @nhoizey
801 followers · 7018 posts · Server mamot.fr

๐Ÿ”— โ€œHTML with Superpowersโ€ by @davatron5000

โš“๏ธ nicolas-hoizey.com/links/2023/

#webcomponent

Last updated 2 years ago

thomas ๐ŸŒธ · @thomasreggi
278 followers · 771 posts · Server indieweb.social

I'm bothered that webcomponents.org/publish uses NPM packages as the main way to publish a web component. I want a better web-component "package manager", something that's simple, uses module imports, can use Tailwind and TypeScript, and just plops out a URL like Deno packages do. It would support LIT and webc. I'd want a storybook-like UI and sample code.

#html #css #frontend #software #js #javascript #webdev #webcomponents #webcomponent

Last updated 2 years ago

Rodion Borisov · @vintprox
73 followers · 966 posts · Server techhub.social

@francis @nosherwan

In my case, it was three days of dragging myself through the unbearable boilerplate harbor to achieve a somewhat reactive native base. Slot content updates, attributes, limited built-in elements extensibility, fulfilling accessibility considerations that gave only diminishing returns... it was not pretty.

I'm liking the idea of and I'd wish I jumped on this bandwagon without hesitation.

#webcomponent #astro

Last updated 2 years ago

Danny Blue · @deebloo
145 followers · 858 posts · Server indieweb.social

published a much simplified API for my board github.com/deebloo/go-board

#webcomponent #go

Last updated 2 years ago

Tane Piper · @tanepiper
968 followers · 3058 posts · Server tane.codes

I've officially released my first on - Formula - npmjs.com/package/@webhelpers/

It works with any static HTML5 form and turns into a Reactive Form, all you need to do is wrap the form in `<formula-form>` and it starts working - Demo here stackblitz.com/edit/vitejs-vit

#webcomponent #npm #WebComponents #webdev #html #reactiveforms

Last updated 2 years ago

Nathan Knowler · @knowler
159 followers · 706 posts · Server sunny.garden

Probably one of the most useful things Iโ€™ve made on CodePen is a `<restart-animations>` which restarts all the animations in the pen.

```js
import {RestartAnimationsElement} from 'assets.codepen.io/508700/resta';

RestartAnimationsElement.define();
```

#webcomponent

Last updated 2 years ago