Previously said, in angular JS integrated react JS Open Source Library: Https://github.com/ngReact/ngReact, this library is for the angular JS 1.3 version and the previous version, the author recommended react2angular , Angular2react, and Ngimport library are also for angular JS 1.6 version and previous version.
And Angular now version is 4, since 2015 released Angular 2 Angular JS is no longer called Angular JS and is called Angular to adapt to the development of the web and Mobile, Angular 2 and Angularjs 1 compared to the change is very large, Angular version modification record: https://github.com/angular/angular/blob/master/CHANGELOG.md, about angular 2 changes refer to this article: https:// Github.com/xufei/blog/issues/8.
In these two articles trying to integrate angular and Reactjs, Http://www.syntaxsuccess.com/viewarticle/integrating-react-with-angular-2.0,https ://www.packtpub.com/books/content/integrating-angular-2-react, there are at least two common ways:
1. Angular 2 has an optional hook-and-hook function, OnInit (), which can be triggered to render (render) Reactjs components.
TSC--watch-m commonjs-t es5--emitdecoratormetadata--experimentaldecorators--jsx react app.ts
Do you want to use react JS?-integration of angular and Reactjs