React

JSX

  • JSX stands for JavaScript XML.

  • It allows writing HTML in JavaScript and converts the HTML tags into React elements.

  • Capitalized types indicate that the JSX tag is referring to a React component. These tags get compiled into a direct reference to the named variable, so if you use the JSX <Foo /> expression, Foo must be in scope.

Last updated