Tuesday, 31 January 2017

// // Leave a Comment

Can Browsers read JSX? If not, Why?

JSX is not valid JavaScript. Web browsers can't read it! If a JavaScript file contains JSX code, then that file will have to be compiled. That means that before the file reaches a web browser, a JSX compiler will translate any JSX into regular JavaScript.


Post a comment