React

A JavaScript library for building user interfaces

Developed at Facebook in 2011

A Growing and Healthy Community and Ecosystem

Client

- Components

(piece of the UI)

- encapsulated

- manage their own state

- compose them to make complex UIs

The Virtual DOM

The Problem:

DOM manipulation

(a lot slower than most JavaScript operations)

The Virtual DOM

- The entire virtual DOM gets updated.

 

- The virtual DOM gets compared to what it looked like before you updated it. React figures out which objects have changed.

 

- The changed objects, and the changed objects only, get updated on the real DOM.

React Part 1

By vladmilinovici

React Part 1

  • 369