banner
eswat42.bsky.social
@eswat42.bsky.social
Principal Architect - UI/UX

- composable UIs
- micro frontends
- web components
When I’m stuck on some code, I go for a walk. Most of the time, I will have figured it out by the time I return… :)
December 30, 2024 at 4:04 PM
You can find any number of recent articles to say web components are good or bad. YMMV
December 26, 2024 at 7:20 PM
It’s not as big of an issue in greenfield projects or startups. However, in bigger companies which have diverse apps & tech stacks the notion of web components has greater appeal.
December 26, 2024 at 7:00 PM
Platform agnostic - write a web component and you can use it anywhere HTML Web Standards are supported. This means it works with React, Preact, Solid, Svelte, Vue, etc…
December 26, 2024 at 6:47 PM
Here are some examples of this in action:

- wc-autos.vercel.app
- autos-s4e.vercel.app
- autos-sld.vercel.app

These all use the same icon loader web component to load the SVG icons on demand …
ProtoAutos 0.0.967
prototype - a simple GraphQL demo generated with Stencil
wc-autos.vercel.app
December 25, 2024 at 5:27 PM
I personally create them as individual SVG web components and use a loader web component which can access the entire set (both built with Stencil)
December 25, 2024 at 4:17 PM
I’ve been thinking that same thing. Wondering if it made more sense to remove the abstractions and build it with vanilla web (HTML, CSS & JS) ??
December 23, 2024 at 11:04 PM
This ^^
December 23, 2024 at 10:39 PM