Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
luketheobscure
· 1y ago · 0 comments
Honest question - have you ever tried to use the actual web components API? It very much feels like a set of primitives to build a framework on top of. I can't imagine the amount of boiler plate you would need to write to just use web components.
Comments
[–]
breadwinner
1y ago
With a simple 500-line lib you can write Web Components just like React, here's an example:
https://github.com/wisercoder/uibuilder/blob/master/WebCompo...
[–]
mdhb
1y ago
Right and Lit is that exact framework and it’s amazing.