react-with-angular
Описание
A project to test the React library usage in Angular application through a web-component wrapper
Языки
- TypeScript71,5%
- JavaScript20,2%
- HTML6,3%
- SCSS2%
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
README.md
How to glue a React component with an Angular app?
Follow these steps:
- create an NX workspace with Angular
- install React deps using npx nx @nx/react
- create a new React library
- modify the library component to export a component-wrapper which wraps the React component with a Web component
- do a lot of tricks to resolve the config issues to glue it together
- profit :D