JSX
E559068
JSX is a JavaScript syntax extension that lets developers write HTML-like markup directly within JavaScript code, commonly used in modern UI libraries and frameworks.
Statements (51)
| Predicate | Object |
|---|---|
| instanceOf |
JavaScript syntax extension
ⓘ
domain-specific language ⓘ syntax sugar ⓘ |
| category |
frontend development tool
ⓘ
web development technology ⓘ |
| commonlyCompiledTo |
JSX runtime helper functions
ⓘ
React.createElement calls ⓘ |
| commonlyUsedWith |
Babel
NERFINISHED
ⓘ
ESBuild NERFINISHED ⓘ Gatsby NERFINISHED ⓘ Next.js NERFINISHED ⓘ Preact NERFINISHED ⓘ React NERFINISHED ⓘ React Native NERFINISHED ⓘ Remix NERFINISHED ⓘ SWC NERFINISHED ⓘ TypeScript NERFINISHED ⓘ Vite NERFINISHED ⓘ Webpack NERFINISHED ⓘ |
| compiledTo | JavaScript function calls ⓘ |
| defaultAttributeNameForCSS | className ⓘ |
| defaultAttributeNameForLabelAssociation | htmlFor ⓘ |
| designedFor | JavaScript NERFINISHED ⓘ |
| fullName | JavaScript XML NERFINISHED ⓘ |
| hasFeature |
HTML-like syntax inside JavaScript
ⓘ
XML-like syntax ⓘ component composition ⓘ expression interpolation with curly braces ⓘ support for custom component tags ⓘ type-checkable structure when used with TypeScript ⓘ |
| hasLimitation |
not valid JavaScript without compilation
ⓘ
requires build tooling in production use ⓘ |
| introducedBy | Facebook NERFINISHED ⓘ |
| introducedFor | React library NERFINISHED ⓘ |
| processedBy |
Babel JSX plugin
NERFINISHED
ⓘ
ESBuild JSX transform ⓘ SWC JSX transform NERFINISHED ⓘ TypeScript JSX compiler ⓘ |
| requires |
compilation step
ⓘ
transpiler configuration ⓘ |
| supports |
children composition
ⓘ
conditional rendering via JavaScript expressions ⓘ embedding JavaScript expressions in markup ⓘ list rendering via array mapping ⓘ props passing to components ⓘ |
| syntaxBasedOn | JavaScript NERFINISHED ⓘ |
| syntaxInspiredBy |
HTML
ⓘ
XML NERFINISHED ⓘ |
| usedFor |
defining user interfaces
ⓘ
describing UI components ⓘ embedding markup in JavaScript code ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.