Fork me on github
摘要: state.action.reducer的关系 应用中所有的 state 都以一个对象树的形式储存在一个单一的 store 中。 惟一改变 state 的办法是触发 action,一个描述发生什么的对象。 为了描述 action 如何改变 state 树,你需要编写 reducers。 阅读全文
posted @ 2021-05-08 15:30 我の前端日记 阅读(43) 评论(0) 推荐(0)
摘要: 创建store和组件取store中的值 阅读全文
posted @ 2021-05-08 13:45 我の前端日记 阅读(95) 评论(0) 推荐(0)
Copyright © 2021 LinCangHai
Powered by .NET 5.0 on Kubernetes