s
April 30, 2024, 11:02 a.m. |

Simon Willison's Weblog simonwillison.net

My approach to HTML web components


Some neat patterns here from Jeremy Keith, who is using Web Components extensively for progressive enhancement of existing markup.

The reactivity you get with full-on frameworks [like React and Vue] isn’t something that web components offer. But I do think web components can replace jQuery and other approaches to scripting the DOM.



Jeremy likes naming components with their element as a prefix (since all element names must contain at least one hyphen), and suggests …

components frameworks html isn javascript jquery patterns progressiveenhancement react something think vue web webcomponents

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York