We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
store是用来维持应用所有state的的一个对象,也可以说是一个方法的集合.
要创建store只需要将根reducer作为参数传递给createStore函数。
var store = createStore(todoApp);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. 什么是store
store是用来维持应用所有state的的一个对象,也可以说是一个方法的集合.
2. 创建store
要创建store只需要将根reducer作为参数传递给createStore函数。
3.store的方法
The text was updated successfully, but these errors were encountered: