MCQ
Single Best Answer
Not Set
QReact cannot be used without JSX.
ID: #4319
ReactJS - Basic
247 views
Question Info
#4319Q ID
Not SetDifficulty
ReactJS - Basic Topic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option B
Explanation
False
It is not mandatory to use JSX with React. But React would be elegant if JSX is used.
About JSX
JSXis aninline markupthat looks like HTML that gets transformed to JavaScript.- It starts with a HTML-like open tag, and ends with the corresponding closing tag.
Example:
const element = Hello, world!
;
The syntax is intended to be used by preprocessors such as Babel to transform HTML-like text into standard JavaScript objects.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic