Proof of Concept Angular-React Hybrid project based on ng-packagr example application https://github.com/ng-packagr/ng-packagr/tree/master/integration
This project has 2 component libraries, 1 written in react and one in Angular. Using the react-wrappers library, we then convert the angular components into react compatible components. Likewise using the angular-wrappers library we convert the react components for use in angular applications.
Three demo applications are included in this repository
react-app- is a react application which imports both thereact-component-libraryand theangular-component-library(via thereact-wrappersandreact-ng-wrapperlibraries).angular-app- imports thereact-component-library(via theangular-wrapperslibrary)angular-ivy-app- imports theangular-component-libraryto show they can still be used within angular.
This project was generated using Nx.
Run yarn build:all to build all the libraries.
Run yarn start [app] (where app is one of react-app, angular-app or angular-ivy-app).
Navigate to http://localhost:4200/.