JavaScript XML
| JavaScript XML | |
|---|---|
| Paradigm | domain-specific language, language extension |
| Family | ECMAScript, XML |
| Designed by | |
| Developer | |
| First appeared | August 29, 2014 |
| Typing discipline | weak, dynamic |
| Filename extensions | .jsx, .tsx |
| Website | github |
| Major implementations | |
| Babel | |
| Dialects | |
| React | |
JSX (sometimes referred to as JavaScript XML) is an XML-like extension to the JavaScript language syntax. Initially created by Facebook for use with React, JSX has been adopted by multiple web frameworks. Being syntactic sugar, JSX is generally transpiled into nested JavaScript function calls structurally similar to the original JSX.
When used with TypeScript, the file extension is .tsx.