react fundamentals
TRANSCRIPT
React compared to Angular or Ember4 Full featured libraries
4 Provide everything needed to built an application
4 Routing, two-way binding
React compared to Backbone4 Full featured library
4 Routing
4 Imperative way of describing how changes effect the view
Environment4 Webpack - combine and transform javascript into one file
4 Babel - transfrom JSX and ES6 to ES5
4 Node / Express
class Post extends React.Component { render() { return ( ... ); }}Post.propTypes = { title: React.PropTypes.string.isRequired, text: React.PropTypes.string.isRequired};
class PostList extends React.Component { render() { return ( ... ); }}PostList.propTypes = { posts: React.PropTypes.array.isRequired,};
Next Steps4 Flux
4 Isomorphic React / Flux (Fluxible)
4 Relay + GraphQL
4 React Native (iOS & Android)
Resources4 http://facebook.github.io/react
4 Pete Hunt: React: Rethinking best practices
4 http://fluxible.io/
4 https://medium.com/@dan_abramov