Question
Do I have to use JSX to use React?
Answer
No, we do not have to use JSX to use React - not using JSX may be preferred when we don’t want to set up compilation for our React application.
Do I have to use JSX to use React?
No, we do not have to use JSX to use React - not using JSX may be preferred when we don’t want to set up compilation for our React application.
ANSWER: You are not required to use JSX , but JSX makes it easier to write React applications,so we use JSX in react.