Fragments giving Unexpected token error in React 16.2
I have the following component that renders a series of components. However, I downloaded React 16.2 and tried to use fragments instead of divs, but I get the following error:
I have the following component that renders a series of components. However, I downloaded React 16.2 and tried to use fragments instead of divs, but I get the following error:
I am new to react and I am trying to send some data as parameter in history.push
.