Re:JSX is no longer my friend
by supernintendo on Tuesday March 15, 2016 @06:51PM
(#11293668)
Good catch! I wrote that example in a hurry on my lunch break so I take accountability for the mistake.
[ Parent
| on HN ]
If you omit the {} you can then also omit the return.
https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...
True but irrelevant, the GP is talking about the top level function, not the fat arrow one.