Re:Boiling React Down to Few Lines in JQuery
by mrspeaker on Sunday March 08, 2015 @05:14PM
(#9167294)
I like how you redundantly alias `this` to `instance` except in the only method that needs it ;)
[ Parent
| on HN ]
Re:Boiling React Down to Few Lines in JQuery
by joshstrange on Monday March 09, 2015 @07:58AM
(#9170428)
Haha yeah that was stupid. With the fat arrow "=>" I'm hoping to be able to get rid of it in most instances. I know I could mix this/instance but I'd rather use "instance" everywhere for consistency even if "this" works. I'd love to hear other's thoughts on the matter!