Answers for "react why jsx"

16

what is jsx in react

instead of putting JavaScript into HTML,
JSX allows us to put HTML into JavaScript.
JSX stands for JavaScript XML. 
It is simply a syntax extension of React. 
It allows us to directly write HTML in React.
Posted by: Guest on July-03-2021
2

jsx react

const element = <h1>Hello World</h1>
Posted by: Guest on June-02-2021

Browse Popular Code Answers by Language