News for hackers. Stuff that matters.
Re:React Tutorial: Cloning Yelp by RobertKerans on Friday May 27, 2016 @08:21AM (#11785496)
Why do you want it to be anonymous in this context? I get you can drop the `return`, but I don't see how you gain anything (apart from a tiny reduction typing and a small increase in incomprehensibility) by using anonymous functions to define components (I know the pattern is used a lot in the wild, but there seems to be zero reasoning for it; lexical binding isn't really relevant here)

There are no comments on this comment yet.