ng-react-bridge
is a lightweight Angular package designed to bridge React and Angular. It enables developers to seamlessly render React components inside Angular components using a directive, simplifying the integration of both frameworks in hybrid applications.
- Render React components within Angular templates.
- Pass props dynamically from Angular to React components.
- Lightweight and easy-to-use directive.
- Fully compatible with Angular standalone components.
To use ng-react-bridge
, ensure your project has the following dependencies installed:
- React (
react
) - ReactDOM (
react-dom
) - Babel (for compiling and running React components in Angular)
Install them if they are not already present in your project:
npm install react react-dom @babel/preset-react
Install the package via npm:
npm install ng-react-bridge
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Submit a pull request with detailed changes.
This project is licensed under the MIT License.