Re:Show HN: React 0.12 renders to Web Components
by werdnapk on Friday November 07, 2014 @10:58AM
(#8573076)
Why does the icon src need to be specified twice?
[ Parent
| on HN ]
Re:Show HN: React 0.12 renders to Web Components
by bsimpson on Friday November 07, 2014 @11:21AM
(#8573214)
It isn't. There are two icons on the page (to show they are identical). Look in Web Inspector - only one is in #react-root.
IDK why the OP decided to name the variable `div`. It'd have been much clearer if it was named something like `reactIcon`.