react overview

24

Upload: dustin-hayes

Post on 20-Jul-2015

80 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: React Overview
Page 2: React Overview

A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES

Page 3: React Overview

REACT IS EASIER THAN JQUERY

Page 4: React Overview

WHAT MAKES REACT DIFFERENT?

Page 5: React Overview

MVC

Page 6: React Overview

MV*

Page 7: React Overview

BACKBONE ANGULAR EMBER KNOCKOUT

Page 8: React Overview

TWO WAY DATA BINDING

CONTROLLEROR

ROUTERMODEL VIEW

Page 9: React Overview

TWO WAY DATA BINDING

CONTROLLEROR

ROUTERMODEL VIEW

MODEL

MODEL

VIEW

VIEW

Page 10: React Overview

SHARED MUTABLE STATE

Page 11: React Overview

We should do our utmost to shorten the conceptual gap between the static

program and the dynamic process, to make the correspondence between the program and the process as trivial as

possible.

- Edsger W. Dijkstra

Page 12: React Overview

TRADITIONAL DATA FLOW

Page 13: React Overview

REACT DATA FLOW

DATA VIEW VIEW

VIEW

VIEW

Page 14: React Overview

API

Page 15: React Overview

RENDER

Page 16: React Overview

CREATING COMPONENTS

Page 17: React Overview

JSX RUNTIME

Page 18: React Overview

NESTING COMPONENTS

Page 19: React Overview

PROPERTIES

Page 20: React Overview

STATE

Page 21: React Overview

COMPONENT LIFECYCLE

Page 22: React Overview

VIRTUAL DOM

Page 23: React Overview

EVENTS

Page 24: React Overview

EXAMPLES