Page 1
Backbone + React
Micah Wood @wpscholar
http://wpscholar.com
Page 2
Project Background
Page 3
Enterprise ProjectCustom Page Builder
Page 4
Actual CodeFlaws Included
Page 6
Models and Collections
Page 9
Node Modules for the Browser
Page 10
Browserify TransformReactify
Page 11
- - ComponentBackbone Mixins for React
Page 14
Self-Closing Tags
Page 15
Camel Case Attributes
Page 17
Boolean Attributes
Page 19
Ternary Operators
Page 23
One-Way Data Flow
Page 27
Controlled Components
Page 28
Nested Components
Page 29
Nested Components
Page 30
Life Cycle Methods
Page 31
Accessing the DOM
Page 32
Don’t Manipulate the DOM!
Page 33
Dynamic Instantiation
Page 36
Accessing Collection Data
Page 38
Accessing Model Data
Page 39
Accessing Model Data
Page 40
Questions?
Micah Wood @wpscholar
http://wpscholar.com