Re: [w3c/webcomponents] Reserve hyphenated or `$`-including properties for customization (#700)

Ok, good to know. Of course `myLibrary` and the like would be safe, but the point is to avoid the cumbersomeness of symbols and such, so `$` would be a good prefix, imo.

I'd still like to ask though what makes `data-*` different where attributes called for namespacing and properties don't? Given the staticness (and ugliness) of regular HTML, I think many of us spend more of our time with dynamic code and may even fail to avail themselves of the practice of adding custom properties because of such a fear of not having a "space" for it. (Consider how many sites advised against creating invalid HTML with custom attributes before `data-*`.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/700#issuecomment-343020681

Received on Thursday, 9 November 2017 01:44:56 UTC