News for hackers. Stuff that matters.
Re:How I converted my React app to VanillaJS by teniutza on Monday January 02, 2017 @06:37AM (#13300568)
Yes, it's ES6/ES2015. It's a lambda function ("fat arrow notation"). In the parentheses you would specify the arguments. An empty pair of parentheses means that the function does not expect any parameters.
Re:How I converted my React app to VanillaJS by tomcam on Monday January 02, 2017 @06:43AM (#13300590)
OK, thanks. So it is the parameter list, not the return value