|
|
|
|
|
by RobertRoberts
3021 days ago
|
|
>My argument about the attribute is not invalid because they are doing it the wrong way. The problem with this argument is that just a few years ago everything ReactJS does now was the wrong way, but for some reason today, it's the best way. So which is it? It seems to me, that unless it's broken, or goes against an explicit rule from the browser/code designers of html/css etc... it's totally valid. And if it doesn't "feel correct", then maybe it's a trend waiting to happen. <sigh>inline javascript styles</sigh> |
|
As far as I know right now, custom attributes goes against the html standard.