Re:Removing User Interface Complexity, or Why React is Awesome
by benatkin on Tuesday May 13, 2014 @04:59PM
(#7740670)
According to the Web Component spec a custom element must contain a dash. Also the convention is to use lowercase. http://w3c.github.io/webcomponents/spec/custom/#concepts
[ Parent
| on HN ]
Re:Removing User Interface Complexity, or Why React is Awesome
by nostrademons on Tuesday May 13, 2014 @06:11PM
(#7740976)
I know, but I wanted to make the correspondence between the examples as clear as possible, including using the same names. In practice it'd be something like <my-toolbar> and <my-app>. (Well, in practice it'd be something like <polymer-toolbar> and <companyfoo-app>, but hopefully people get the point.)