For example in redux actions, I\'ve seen in someone\'s code:
export const updateMessage = text => { return (dispatch) => { dispatch(updateChatMess
If you wrap the brackets with parenthesis you are making your function return an object literal (thus you don't need the return keyword). If you don't use parenthesis you have to use the return keyword.