Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
claytongulick
· 3y ago · 0 comments
For that case, I probably would use Shadow DOM, it's great for library components.
For application development, I prefer the light DOM.
Comments
[–]
robbiejs
3y ago
So the components you are talking about are simpler UI components for which Shadow DOM is overkill? For advanced components like a grid, you would still recommend going with Shadow Dom?
[–]
microflash
3y ago
This. I've started using web components extensively and eventually came to the same conclusion.