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

关于redux中顶级API方法bindActionCreators #64

Open
ckinmind opened this issue Jan 26, 2017 · 1 comment
Open

关于redux中顶级API方法bindActionCreators #64

ckinmind opened this issue Jan 26, 2017 · 1 comment
Labels

Comments

@ckinmind
Copy link
Owner

问题:

  1. API解释
  2. 使用场景
@ckinmind ckinmind added the redux label Jan 26, 2017
@ckinmind ckinmind changed the title 关于redux中的bindActionCreators 关于redux中顶级API方法bindActionCreators Jan 26, 2017
@ckinmind
Copy link
Owner Author

参考资料:redux中文文档

惟一使用 bindActionCreators 的场景是当你需要把 action creator 往下传到一个组件上,却不想让这个组件觉察到 Redux 的存在,而且不希望把 Redux store 或 dispatch 传给它

详情看参考资料中的说明

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant