JSX in React
JSX stands for JavaScript XML. It allows you to write HTML like code inside JavaScript.
JSX makes React code easier to read and understand.Behind the scenes, JSX is converted into JavaScript.
JSX must always return a single parent element, such as a div or a fragment.
Comments
Post a Comment