Given the following react-redux code:
const TextListContainer = ({ items, actions }) => (
<TextList items={items} actions={actions} />
)
Why are normal brackets used here instead of curly brackets?
To further illustrate my question:
NORMAL FUNCTION:
const someFn = something => {
//...
}
BRACE STYLE FUNCTION:
const someFn = something => (
//...
)
This style of code is copied from here: https://github.com/reactjs/redux/blob/master/examples/todomvc/src/containers/App.js