React (software): Difference between revisions

Content deleted Content added
m JSX: remove space
Line 111:
===JSX===
{{Main|JSX (JavaScript)|l1=JSX}}
[https://tekolio.com/explaining-react-jsx-in-depth/ JSX], or JavaScript Syntax Extension , is an extension to the JavaScript language syntax.<ref>{{cite web|title=Draft: JSX Specification|url=https://facebook.github.io/jsx/|website=JSX|publisher=Facebook|access-date=7 April 2018}}</ref> Similar in appearance to HTML, JSX provides a way to structure component rendering using syntax familiar to many developers. React components are typically written using JSX, although they do not have to be (components may also be written in pure JavaScript). JSX is similar to another extension syntax created by Facebook for [[PHP]] called [[XHP]].
 
An example of JSX code: