首页 极刻 圈子 教程 开源
极客社区
写文章 发极刻 建圈子 发项目
标签 setpropsapp 相关标签 action props reducers redux setprops

redux更新store中的数据繁琐,我整合了一些代码,使更新store中的数据只需要一行代码

3.action/app.js里,新增一个方法,用来分发该常量;4.Containers/app.js,引用上一步的方法,并调用;咱们写个setProps用来更新props不就行了嘛!

hualalalalali 2019-06-21 09:19:31

推荐极客

Blaze Blaze 80407013 80407013 fundebug fundebug 81293313 81293313 87627995 87627995 88916570 88916570 84214254 84214254 86593278 86593278

优质内容社区

首页 文章 极刻 开源 标签 关于我们

© 安科网. All rights reserved.