IT lexicon › Web › JSX

JSX

Web På svenska → Updated: 2026-07-30

JavaScript syntax extension that looks like HTML — const el = <div className="x">Hi</div>. Babel/SWC/TypeScript transforms to function calls.

Created by Facebook for React 2013. No official browser support — always build-time transformed. Spec is open, not React-exclusive: Preact, Solid, Hono, Vue (via vue-jsx), Mitosis use JSX. TSX = JSX in TypeScript files. Modern build stacks (Vite, esbuild, SWC) handle JSX out-of-the-box without Babel.

← Back to the lexicon