Gathering detailed insights and metrics for @rx-angular/cdk
Gathering detailed insights and metrics for @rx-angular/cdk
Gathering detailed insights and metrics for @rx-angular/cdk
Gathering detailed insights and metrics for @rx-angular/cdk
@rx-angular/template
**Fully** Reactive Component Template Rendering in Angular. @rx-angular/template aims to be a reflection of Angular's built in renderings just reactive.
@rx-angular/state
@rx-angular/state is a light-weight, flexible, strongly typed and tested tool dedicated to reduce the complexity of managing component state and side effects in angular
aws-cdk
CDK Toolkit, the command line tool for CDK apps
cdk-table-exporter
Abstract CdkTable Exporter
npm install @rx-angular/cdk
template@18.0.3
Published on 03 Oct 2024
state@18.1.0
Published on 03 Oct 2024
isr@18.1.0
Published on 04 Sept 2024
template@18.0.2
Published on 04 Sept 2024
isr@18.0.3
Published on 23 Aug 2024
template@18.0.1
Published on 01 Aug 2024
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,909 Stars
2,650 Commits
198 Forks
34 Watching
34 Branches
93 Contributors
Updated on 26 Nov 2024
TypeScript (93.63%)
MDX (5.13%)
JavaScript (0.38%)
SCSS (0.38%)
HTML (0.37%)
CSS (0.11%)
Cumulative downloads
Total Downloads
Last day
-22.8%
4,513
Compared to previous day
Last week
15.4%
29,126
Compared to previous week
Last month
19.7%
117,840
Compared to previous month
Last year
24.1%
1,176,297
Compared to previous year
2
RxAngular offers a comprehensive toolkit for handling fully reactive Angular applications with the main focus on runtime performance, template rendering, and Developer eXperience.
RxAngular is made up of different packages that work together or standalone.
Package | Description | Version |
---|---|---|
@rx-angular/state | A powerful state management library, providing a fully reactive way to manage state in components and services. | |
@rx-angular/template | A set of directives and pipes designed for high-performance and non-blocking rendering for large-scale applications. | |
@rx-angular/cdk | A Component Development Kit for high-performance and ergonomic Angular UI libs and large-scale applications. | |
@rx-angular/isr | A library that enables Angular Universal applications to generate static pages at runtime and then update them incrementally on demand or on a schedule. | |
@rx-angular/eslint-plugin | A set of ESLint rules for building reactive, performant, and zone-less Angular applications. |
This repository holds a set of helpers that are aiming to provide:
@rx-angular/template
This is an example of how to use the *rxLet
directive to bind an Observable value to the template. In this example, the component defines a property time$
, which is an Observable that emits a value every second using the timer
operator. The emitted values are mapped to the current time string using the map
operator which is then displayed in the template using *rxLet
.
1import { RxLet } from '@rx-angular/template/let';
2
3@Component({
4 selector: 'app-time',
5 standalone: true,
6 imports: [RxLet],
7 template: `
8 <ng-container *rxLet="time$; let value">
9 {{ value }}
10 </ng-container>
11 `,
12})
13export class TimeComponent {
14 time$ = timer(0, 1000).pipe(map(() => new Date().toTimeString()));
15}
To learn more about @rx-angular/template
and its capabilities, check out the official documentation at https://rx-angular.io/docs/template.
@rx-angular/state
In this example, we're creating a fully reactive counter component. We use rxState
to manage the component's state, rxActions
to define structured actions for state updates (specifically increment
and decrement
), and rxEffects
to trigger side-effects when state changes occur. These mechanisms collectively enable efficient state management, action handling, and side-effect execution, resulting in a responsive and well-structured counter component.
1import { rxState } from '@rx-angular/state'; 2import { rxEffects } from '@rx-angular/state/effects'; 3import { rxActions } from '@rx-angular/state/actions'; 4import { RxPush } from '@rx-angular/template/push'; 5 6@Component({ 7 selector: 'app-counter', 8 standalone: true, 9 imports: [RxPush], 10 template: ` 11 <p>Count: {{ count$ | push }}</p> 12 <button (click)="actions.increment()">Increment</button> 13 <button (click)="actions.decrement()">Decrement</button> 14 `, 15}) 16export class CounterComponent { 17 readonly actions = rxActions<{ 18 increment: void; 19 decrement: void; 20 }>(); 21 22 private readonly state = rxState<{ 23 count: number; 24 }>(({ set, connect }) => { 25 set({ count: 0 }); 26 connect(this.actions.increment$, (state) => ({ 27 count: state.count + 1, 28 })); 29 connect(this.actions.decrement$, (state) => ({ 30 count: state.count - 1, 31 })); 32 }); 33 34 readonly count$ = this.state.select('count'); 35 36 constructor() { 37 rxEffects(({ register }) => { 38 register(this.count$, (count) => console.log(`Count changed: ${count}`)); 39 }); 40 } 41}
To learn more about @rx-angular/state
and its capabilities, check out the official documentation at https://rx-angular.io/docs/state.
Large scale application | Medium size project | Small project |
---|---|---|
Url: https://clickup.com Platforms: Web |
Url: https://get.tapeapp.com Platforms: Web, Mobile (ionic) |
Url: https://angular-movies-a12d3.web.app Platforms: Web |
We welcome contributions from the community to help improve RxAngular! To get started, please take a look at our contribution guidelines in the CONTRIBUTING.md file. We appreciate your help in making RxAngular better for everyone.
This project is MIT licensed.
Made with ❤ by push-based.io
No vulnerabilities found.
Reason
30 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool is run on all commits
Details
Reason
Found 6/13 approved changesets -- score normalized to 4
Reason
security policy file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More