Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.model, reducers, effects, & subscriptions:
- ```js
- app.model({
- state: {},
- reducers: {
- exampleReducer: function (data, state) { return data }
- },
- effects: {
- exampleEffect: function (data, state, send, done) { return data }
- },
- subscriptions: [
- function (send, done) {}
- ]
- })
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement