I found this code in one a tutorial.
const renderApp = (Component) =>
  render(
    <Provider store={store}>
        <AppContainer>
          <Component />
        </AppContainer>
    </Provider>,
    document.getElementById('root')
  );
My question is shouldnt the return value be wrapped in braces? because arrow functions return whats next to => if nothing is metnioned ?
const renderApp = (Component) => (
  render(
    <Provider store={store}>
        <AppContainer>
          <Component />
        </AppContainer>
    </Provider>,
    document.getElementById('root')
  );
)
shouldn't it have braces to wrap contents ?
 
    