感觉angular service和依赖注入还有 rxjs 方便很多,redux感觉好不习惯...
来源:9-6 【reducer管理】combineReducers

慕UI9336467
2023-04-22
写回答
1回答
-
阿莱克斯刘
2023-04-30
设计模式就是这样,用用就习惯了。redux的工作流理解起来的确比较费劲,多看基本课程关于redux原理的介绍然后配合课程实战应该可以快速掌握。反正使用redux的原则就是,只要是希望页面(或组件)间共享的数据就全部交给redux store负责。20
相似问题