The JavaScript that animates that page

We might briefly note that the script is regular JavaScript, rather than ReactJS's JSX format, which allows mixing of HTML-like XML and JavaScript and has been called the tool that puts angle brackets in your scripts. Not all people will go with JSX, but the tool is worth knowing about if nothing else.

JSX has many merits and is worth considering. It is used by perhaps some, but not all non-Facebook ReactJS users, as well as by Facebook. Facebook has been careful to support JSX but has not required it to use ReactJS. For development purposes, JSX scripts can be loaded after a web page loads, from http://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js for example, and compiled in the browser. ...

Get React: Building Modern Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.