Is it possible to integrate modern React.js components into ES5 AngularJs app?



We have an old style application, written in AngularJs and we would like to "import" couple of editors written in ReactJs.

First idea was ngReact, which is also old school (and available on bower :)) but I was not able to reference neither React or our react components.

As those two things are actually not written in same standard, is it even possible to mix them?
Or is there option to downgrade React components to ES5 during the compile & build?

Why don’t we modernize angular app?

We are waiting for completely new ReactJs application version and in a meanwhile we are still using our old one. While we are waiting for the new one, we just wanted to grasp some new features in the old gui.


We ended up with rewriting angularjs to the ES6 and now they work together well.

It took couple of days, but I can say that I am more happy now than that we had that odd mixture we initially wanted to have.

Answered By – tole

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More