Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just for complete clairty, my-* does in fact indicate a token that the author/programmer is defining (a custom property), in the same way that data-* properties do in HTML, which is why my-* was used. But I understand that you dislike it and I can appreciate why. As I mentioned to Po, the draft is open on github, and you are free to make better suggestions here as well... I don't think anyone is particularly married to my- we do know that var- and data- have caused what we think was unnecessary confusion. Set- was proposed and denied. What are your thoughts - that's what this is all about. Let's not wind up with something that people find unintuitive if as a community we can make it better.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: