摘要: 本文将介绍如何通过RxJS+TS实现模块间的松耦合。所谓松耦合是指模块间不能存在显式的引用关系。公司项目中经常看到junior程序员写出如下的代码: var moduleA = { foo: function() { moduleB.doSomeThing(); moduleC.doSomeThin 阅读全文
posted @ 2021-09-24 09:29 老胡Andy 阅读(159) 评论(0) 推荐(0) 编辑