[英]Integrating react-redux into an existing Angularjs application
I'm considering integrating react-redux into a 3 years old codebase of Angularjs. 我正在考虑将react-redux集成到Angularjs已有3年历史的代码库中。 I don't wish to refactor the all codebase at once, rather incrementally introducing react-redux through new features which my team will develop.
我不想立即重构所有代码库,而是通过我的团队将开发的新功能逐步引入react-redux。
I've successfully migrated the application under the brown-field limitations I pointed out at the original question. 我已经成功地迁移下的棕地限制我在原来的问题指出了应用。
The solution is based on two approaches: 该解决方案基于两种方法:
Both approached use a similar technique to the one which suggested here: http://softeng.oicr.on.ca/chang_wang/2017/04/17/Using-AngularJS-components-directives-in-React/?utm_source=reactnl&utm_medium=email 两种方法都使用与此处建议的方法类似的技术: http : //softeng.oicr.on.ca/chang_wang/2017/04/17/Using-AngularJS-components-directives-in-React/?utm_source=reactnl&utm_medium=电子邮件
TIP: It's much more easier if your Angular dependencies are managed properly. 提示:如果对Angular依赖项进行了适当的管理,它将更加容易。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.