Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持非默认的 reducers 和 effects #22

Open
2 tasks
sorrycc opened this issue Oct 8, 2016 · 0 comments
Open
2 tasks

支持非默认的 reducers 和 effects #22

sorrycc opened this issue Oct 8, 2016 · 0 comments

Comments

@sorrycc
Copy link
Member

sorrycc commented Oct 8, 2016

TODO:

  • reducers with enhancer
  • effect with type

比如:

app.model({
  reducers: [{}, enhancer],
  effects: {
    addRemoteLatest: [function*() {}, { type: 'takeLatest' }],
  },
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant