♻️ Reblog of
Dave 🧱 (DavidDarnes@mastodon.design
)
@leaverou found an almost ideal use case for Web Components yesterday. Friend wanted to filter a regular HTML table with a search input but didn’t want to get swamped in JS and additional HTML. I threw together a WC that allowed him to wrap the table in a <live-filter> element that added the search. I couldn’t help but think “why aren’t we doing this more??”