Hacker News new | ask | show | jobs
by werdnapk 4239 days ago
Why does the icon src need to be specified twice?
1 comments

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`.

Oops