Backbone + React
Micah Wood @wpscholar
http://wpscholar.com
Project Background
Enterprise ProjectCustom Page Builder
Actual CodeFlaws Included
Models and Collections
Node Modules for the Browser
Browserify TransformReactify
- - ComponentBackbone Mixins for React
Self-Closing Tags
Camel Case Attributes
Boolean Attributes
Ternary Operators
One-Way Data Flow
Controlled Components
Nested Components
Nested Components
Life Cycle Methods
Accessing the DOM
Don’t Manipulate the DOM!
Dynamic Instantiation
Accessing Collection Data
Accessing Model Data
Accessing Model Data
Questions?
Micah Wood @wpscholar
http://wpscholar.com