https://github.com/lacolaco/ngx-react
Use React elements with Angular
https://github.com/lacolaco/ngx-react
angular frontend react reactive-programming typescript
Last synced: 9 months ago
JSON representation
Use React elements with Angular
- Host: GitHub
- URL: https://github.com/lacolaco/ngx-react
- Owner: lacolaco
- Created: 2018-07-24T01:08:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-24T17:35:26.000Z (over 3 years ago)
- Last Synced: 2025-05-08T22:29:49.009Z (11 months ago)
- Topics: angular, frontend, react, reactive-programming, typescript
- Language: TypeScript
- Homepage:
- Size: 104 KB
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NgxReact
**Work in Progress**
```typescript
@Component({
template: `
`
})
class SimpleComponent {
// Create React element
element =
Test Element;
}
```
```typescript
@Component({
template: `
`
})
class ReactiveComponent {
// Update element when message changed
message$ = this.messageService.message$.pipe(
map(message =>
{message})
);
}
```