Skip to main content

React is a JavaScript library for building user interfaces. It uses a declarative paradigm that makes it easier to reason about your application and aims to be both efficient and flexible.

React is a JavaScript library for building user interfaces. It uses a declarative paradigm that makes it easier to reason about your application and aims to be both efficient and flexible.

Just the UI

Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.

Virtual DOM

React uses a virtual DOM diff implementation for ultra-high performance. It can also render on the server using Node.js — no heavy browser DOM required.

Data flow

React implements one-way reactive data flow which reduces boilerplate and is easier to reason about than traditional data binding.

Example using JSX

var HelloWorldWidget = React.createClass({
   render: function () {
        return (
            <p>Hello World!</p>
        );
   }
});

React.render(<HelloWorldWidget />, document.body);

Resources

https://facebook.github.io/react/ (Official)

Getting started

https://github.com/enaqx/awesome-react

http://facebook.github.io/jsx/

React conference 2015 videos

JsFiddle React playground by vjeux