Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ember + Redux - Odessa JS 2015

Ember + Redux - Odessa JS 2015

The state of Ember in 2015 and some ideas about how to integrate it with Redux. Presented at Odessa JS

More Decks by Андрей Листочкин (Andrey Listochkin)

Other Decks in Programming

Transcript

  1. Jan 31 Twitter Flight Feb 15 Ember rc1 May 18

    Polymer May 29 React Jun 23 Ember rc6 Aug 29 Ember rc8 Sep 20 Steve Kane talk Sep 15 Oct 30 R:RBP Pete Hunt
  2. Data Down Actions Up default since 1.0 - Aug 2013

    mandatory since 2.0 - Aug 2015
  3. export default Ember.Route.extend({ model () { return this.store.findAll('tweet'); }, actions:

    { postNewTweet (text, username, postedAt) { this.store.createRecord('tweet', { text, username, postedAt }).save(); } } });
  4. export default Ember.Route.extend({ model () { return this.store.findAll('tweet'); }, actions:

    { postNewTweet (text, username, postedAt) { this.store.createRecord('tweet', { text, username, postedAt }).save(); } } });
  5. export default Ember.Route.extend(WithRedux, { state (state) { return state.tweets },

    actionCreators: { model () { ... }, postNewTweet () { ... } } });