DEV Community

Discussion on: This is why you can't return adjacent JSX elements.

Collapse
 
wannabehexagon profile image
ItsThatHexagonGuy

You get that error because you can only return one thing at any given time. That error translates to "do something so you will only return one thing".

Collapse
 
tusharkashyap63 profile image
Tushar Kashyap • Edited

I know it asks you to return one element. In this article I'm trying to explain WHY does it want you to return one element.