- A Build
- B Execution
- C Interpretation
- D Compilation
- Share this MCQ
Answer:
D
Explanation:
Compilation
React with JSX
Why JSX?
React uses JSX
instead of the regular JavaScript.
Advantages:
- Faster because it performs optimization while compiling code to JavaScript.
- Type-safe and most of the errors can be caught during compilation.
- Easier and faster to write templates, if you are familiar with HTML.
Related Topic: