DEV Community

Cover image for How to Fix ‘Adjacent JSX elements must be wrapped in an enclosing tag’
Reactjs Guru
Reactjs Guru

Posted on

How to Fix ‘Adjacent JSX elements must be wrapped in an enclosing tag’

JSX stands for JavaScript XML. It is a syntax extension of JavaScript that allows us to write HTML-like code in JavaScript. JSX makes it easier to write and add HTML in React. However, when working with JSX, we may encounter an error message that says “Adjacent JSX elements must be wrapped in an enclosing tag”. This error message can be confusing, but it’s actually quite easy to fix.
Read the Full article here

Top comments (0)