rx-angular
Angular
rx-angular | Angular | |
---|---|---|
12 | 699 | |
1,859 | 94,599 | |
0.8% | 0.3% | |
9.3 | 10.0 | |
7 days ago | about 23 hours ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rx-angular
-
A sweet spot between signals and observables π¬
RFC: @rx-angular/state/signals - extended signal and new eventEmitter
-
Beyond Angular Signals: Signals & Custom Render Strategies
It has been a while now since the Angular team has been exploring (way more than we can think) alternative reactivity models and looking for something that lies between the extremes of naive Zone.js (i.e. Zone.js without OnPush) and Zoneless Angular combined with special pipes & directives like those provided by RxAngular.
- Are you satisfied with the current Angular+RxJS integration?
-
[Beginner] Understanding how angular updates my app
I would recommend exploring https://github.com/rx-angular/rx-angular. Contributors did a huge research about using Angular to get the best results.
-
IssueManager - A realtime kanban board made with Appwrite and Angular14
It also includes RxAngular, a toolset focused on runtime performance and template rendering, and taiga-ui, an UI component library.
-
How to handle errors REACTIVELY with the async pipe
There is another reason not to use async pipes. If you provide 'noop' zone, async pipes will stop working. In my experience it's better to start without zones if you know that performance might be a problem in the future. Working without zones has more benefits https://github.com/rx-angular/rx-angular/blob/main/docs/general/zone/why-zone-less.md Here is the list.
-
MiniRx Feature Store vs. NgRx Component Store vs. Akita
Another cool lib which goes into the same direction as NgRx Component Store: https://github.com/rx-angular/rx-angular/blob/master/libs/state/README.md
-
Looking for guide\book about best practice for state managing
Here are some examples: https://github.com/rx-angular/rx-angular/blob/master/libs/state/docs/usage.md
- Moving to Angular from React
-
Updates on dev.to clone in Angular - July 30
We also added listings using the same pattern. This is the first time we used *rxLet. It really makes working with all Observable in the templates easier do check it out. It allows you four states for an observable suspense, error. complete so that you can handle each one of them separately and gets rid of the *ngIf with async pipe. Like if you want to display something else while loading and error is a big disadvantage of the async pipe when used with an api.
Angular
-
Angular Signals, Reactive Context, and Dynamic Dependency Tracking
/** * https://github.com/angular/angular/blob/75a186e321cb417685b2f13e9961906fc0aed36c/packages/core/src/render3/reactivity/untracked.ts#L15 * * packages/core/src/render3/reactivity/untracked.ts * **/ export function untracked(nonReactiveReadsFn: () => T): T { const prevConsumer = setActiveConsumer(null); try { return nonReactiveReadsFn(); } finally { setActiveConsumer(prevConsumer); } }
- Episode 24/15: Wiz behind the curtain, Copilot in VSCode
-
Always unsubscribe. No exceptions. Debate closed.
source: https://github.com/angular/angular/issues/46542
-
Angular Signals: Best Practices
Besides the dangers, mentioned by Angular docs (infinite loops, change detection errors), there is another thing, that might be quite nasty: effects are executed in a reactive context, and any code you call in effect, will be executed in a reactive context. If that code reads some signals, they will be added as dependencies to your effect. Here Alex Rickabaugh explains the details.
-
Understanding control flow syntax in Angular 17
In June 2023, the Angular team raised a new RFC to implement control flow syntaxes within Angular. They gave the following rationale for introducing control flow syntax:
- Episode 24/09: Testing without TestBed, SSR & Hydration
-
Preparing our Code for Zoneless Angular
For scheduling, I use awesome code I found in the Angular source code.
-
β° Itβs time to talk about Import Map, Micro Frontend, and Nx Monorepo
Just to give you more context, I led the migration of several AngularJS applications to the newer Angular Framework. My client finally decided to make that move following the AngularJS deprecation announcement (stay up to date please π)οΈ.
-
Conventional commit specification
Link β angular/CONTRIBUTING.md
-
Angular Control Flow: the complete guide
Angular v17 was released some months ago with a ton of new features, a brand new logo and the new blog angular.dev.
What are some alternatives?
akita - π State Management Tailored-Made for JS Applications
Next.js - The React Framework
mini-rx-store - MiniRx - The reactive state management platform
qwik - Instant-loading web apps, without effort
devto-clone - This is a dev to clone in angular. Where we used Angular component-store, rx-angular/template
SvelteKit - web development, streamlined
juliette - Reactive State Management Powered by RxJS
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
angular-spotify - Spotify client built with Angular 15, Nx Workspace, ngrx, TailwindCSS and ng-zorro
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
mini-rx-comparison - Compare MiniRx FeatureStore with NgRx ComponentStore and Akita Store
lit - Lit is a simple library for building fast, lightweight web components.