This commit is contained in:
zuiidea
2016-10-08 22:31:19 +08:00
parent ad92f03f2d
commit 62cccd4154
19 changed files with 229 additions and 264 deletions
+24
View File
@@ -0,0 +1,24 @@
export default {
namespace: 'example',
state: {},
subscriptions: {
setup({ dispatch, history }) {
},
},
effects: {
*fetchRemote({ payload }, { call, put }) {
},
},
reducers: {
fetch(state, action) {
return { ...state, ...action.payload };
},
},
}