Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. app.model, reducers, effects, & subscriptions:
  2.  
  3. ```js
  4. app.model({
  5. state: {},
  6. reducers: {
  7. exampleReducer: function (data, state) { return data }
  8. },
  9. effects: {
  10. exampleEffect: function (data, state, send, done) { return data }
  11. },
  12. subscriptions: [
  13. function (send, done) {}
  14. ]
  15. })
  16. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement