1.

What Are The Advantages Of Using Jsx?

Answer»

JSX is completely optional and its not mandatory, we don’t need to use it in order to use React, but it has several advantages and a lot of NICE features in JSX.

  • JSX is ALWAYS faster as it performs optimization while COMPILING code to vanilla JavaScript.
  • JSX is also type-safe, means it is strictly typed and most of the ERRORS can be caught during COMPILATION of the JSX code to JavaScript.
  • JSX always makes it easier and faster to write templates if we are familiar with HTML syntax.

JSX is completely optional and its not mandatory, we don’t need to use it in order to use React, but it has several advantages and a lot of nice features in JSX.



Discussion

No Comment Found