Re:The Anatomy of Web Components
by csande17 on Sunday July 28, 2019 @05:35PM
(#20549952)
I think web components fall back to regular elements if JavaScript doesn't run. So <twitter-tweet>Cats are the best!</twitter-tweet> and <button is="very-fancy-material-design-button">Click here!</button> would still show up for JS-disabled users, they just wouldn't have the extra JavaScript functionality.
[ Parent
| on HN ]