I used to look at Web Components like “what is this? Is it some modern thing I don’t understand, am I supposed to employ it now?”. As people move away from bloated JS SPA, some of them turn their attention to Web Components.

To not keep the suspense: Web Components are useless in their current design. The original idea of progressive enhancement is hopelessly lost, “you don’t need the JS framework” turned into Lit, Polymer, Stencil effectively creating frameworks on top of Web Components. The idea of “button handling its own logic” was doomed, the distributed logic is much harder to support and you really don’t need to support it, the model of “logic handles the buttons” is more concise and easier to reason about ­— th…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help