Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2021-11-03 - Composants.md 1.8KB

Composants

[en] Web Components had so much potential to empower HTML to do more, and make web development more accessible to non-programmers and easier for programmers. Remember how exciting it was every time we got new shiny HTML elements that actually do stuff? Remember how exciting it was to be able to do sliders, color pickers, dialogs, disclosure widgets straight in the HTML, without having to include any widget libraries?

The promise of Web Components was that we’d get this convenience, but for a much wider range of HTML elements, developed much faster, as nobody needs to wait for the full spec + implementation process. We’d just include a script, and boom, we have more elements at our disposal!

*The failed promise of Web Components* (cache)

Le constat ne souffrait pas d’ambiguïté il y a un an. Qu’en est-il aujourd’hui ?

Il y a Simon Willison qui commente un Web Component tenant dans un seul fichier (cache). Et Dave Rupert qui parle de leurs super-pouvoirs (cache). Tout le monde espère pouvoir les utiliser nativement (cache).

En attendant, il y a des petits frameworks comme Tonic ou Lego. Des plus conséquents comme Lit.

Tout espoir n’est pas perdu. Juste une décennie.

technique #web #frugalité