We have Custom Elements, but do we also need Custom Attributes? This was discussed at TPAC. Is it something you'd like on the platform? https://github.com/WICG/webcomponents/issues/1029
Post
π In my projects I usually use a Mutation Observer which recursively listens on the root node, that uses a target.matches() to decide if and how to initialize elements in the DOM. And that seems to do the job quick enough.
0 reposts3 likes
No replies yet.