Composants


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.