react2angular
react2angular copied to clipboard
Mounting react component in @angular/router
I want to migrate my angularJS application to react by moving one component at a time. Every component is mounted using angular-router. Can you please share an example on how to import react component in angular-router using react2angular?
@mj-jadhav you can use ui-router/react-hybrid to achieve that. It gives you the ability to render both angularjs and React component.
@gal1419 I checked that library, but my application is built on @angular/router, so wanted to see if I can easily use react2angular with the existing code(@angular/router). But if it's not possible then I'll have to replace angular-router with ui-router/react-hybrid anyway. I'm keeping this as my last option ;)