ng-react-bridge
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

ng-react-bridge

NPM version NODE version types

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.

Features

  • 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.

Prerequisites

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

Installation

Install the package via npm:

npm install ng-react-bridge

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Submit a pull request with detailed changes.

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i ng-react-bridge

Weekly Downloads

4

Version

0.2.0

License

MIT

Unpacked Size

6.74 kB

Total Files

8

Last publish

Collaborators

  • john310897