Description: App bridge for Angular and React
The @rob-long/app-bridge
library provides a seamless bridge for state management between Angular and React applications using RxJS. It allows easy integration and communication between different frameworks, ensuring consistent state handling across your application.
npm install @rob-long/app-bridge
- State Management: Utilize RxJS
BehaviorSubject
for managing state. - Framework Integration: Seamless integration with Angular and React; additional framework support can be added.
- TypeScript Support: Fully typed with TypeScript for better developer experience.
import { appBridgeService } from '@rob-long/app-bridge';
const appBridge = appBridgeService('myApp');
import { useAppBridge } from '@rob-long/app-bridge';
const [state, updateState] = useAppBridge('mySubject');
- test:
jest --config jest.config.json
- build:
rollup -c
- lint:
eslint . --ext .ts
- format:
prettier --write .
- docs:
typedoc
Feel free to open issues or submit pull requests. Ensure that all new code has associated tests and follows the existing style.
This project is licensed under the ISC License.
Created by Rob Long.
For more detailed documentation, visit the TypeDoc pages.