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

如何在一个action执行成功之后调用另外一个Action,比如保存数据成功后查询数据 #38

Closed
cn-zhengjie opened this issue Sep 8, 2017 · 1 comment

Comments

@cn-zhengjie
Copy link

No description provided.

@fireyy
Copy link
Owner

fireyy commented Sep 8, 2017

这个参见 Redux 的文档

store
  .dispatch(fetchPosts('reactjs'))
  .then(() => console.log(store.getState()))

@fireyy fireyy closed this as completed Sep 8, 2017
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

2 participants