I am looking at this code - https://facebook.github.io/react-native/docs/network.html
return fetch(\'https://facebook.github.io/react-native/movies.json\')
(foo) => 'bar';
does exactly the same thing as
(foo) => { return 'bar'; };
If your function is multiline, use the second form.
Here are some docs: MDN Arrow function