Integrating React components in Angular

added by JavaScript Kicks
3/30/2015 1:23:21 AM

1 Kicks, 108 Views

React has emerged as a popular library for creating complicated user interfaces, most notably Facebook and Instagram. React is great for building reusable components and one of its strengths is how easily it integrates with other frameworks. In this post I will demonstrate how to integrate a simple React component in an existing Angular application. As always the best approach for integrating other frameworks with Angular is through a directive. The code below shows how to create a directive that wraps a simple React greeting component.


0 comments