rx-angular
platform
rx-angular | platform | |
---|---|---|
12 | 64 | |
1,859 | 7,899 | |
0.8% | 0.4% | |
9.3 | 9.1 | |
7 days ago | 4 days ago | |
TypeScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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.
platform
-
Simplifying Angular State Management Using NgRx SignalState
NgRx is the standard library for state management in Angular applications. With NgRx v14, many of the complex APIs following the Redux pattern have been greatly simplified. For example, ActionGroups make it easier to define new actions. However, the use of the Redux pattern is by no means easy and discourages many developers.
-
Here's how NgRx selectors actually work internally
I ran into this question question on the NgRx GitHub discussion threads which asked:
-
Using Angular Signals for Global State
In an application that I’m working on, before Angular 16 shipped, I was using a custom StoreService to hold global application state. I’ve tried libraries like NgRx and Akita to manage global state, but found them to be way too heavy-handed for what I wanted (not saying ANYTHING negative towards these libraries; not every tool is right for every job, and the authors of these libraries would probably be the first to tell you that). This custom StoreService was created using RxJS, and looked like this:
-
Episode 23/27: NgRx 16.1 & Signal Store, Jest, Cypress, Nx
RFC Signal Store
-
Fullstack Angular with Analog 🚀
If you liked this, click the ❤️ so other people will see it. Follow me on Twitter and subscribe to my YouTube Channel for content on Angular, Analog, NgRx, and more!
-
A better architecture for your Angular projects
The store can be implemented using any technology. You can either use a library like NgRx or NGXS. Another solution is to create your own store using a BehaviorSubject.
-
Navigation ID is not equal to the current router navigation id error
I'm using @ngrx/router-store in my Angularv5 app and I recently started running into a an error: Navigation ID X is not equal to the current navigation id Y (where X and Y are integers).
-
Share mistakes you did with Angular and you want other devs not do it again
Not agree, NgRx and redux pattern helps a lot to keep the code clean, I do agree that maybe NgRx add many files and could become in boilperplate for simple staff, I think with signals this approach will change, there is already an open discussion about this https://github.com/ngrx/platform/discussions/3796
-
How can I stop API requests from blocking rendering?
For code sample and how to architect these things : https://ngrx.io
-
From NgRx ComponentStore to SignalStore: the key takeaways from my demo project
The NgRx team and Marko Stanimirović opened a new RFC (Request for Comments) for a signal-based state management solution, SignalStore. It has a similar approach to @ngrx/component-store. The initial prototype with the API documentation is available in the NgRx SignalStore playground repo.
What are some alternatives?
akita - 🚀 State Management Tailored-Made for JS Applications
ngrx-data-pagination
mini-rx-store - MiniRx - The reactive state management platform
rtk-query - Data fetching and caching addon for Redux Toolkit
devto-clone - This is a dev to clone in angular. Where we used Angular component-store, rx-angular/template
rx-query
juliette - Reactive State Management Powered by RxJS
ngrx-forms - Enhance your forms in Angular applications with the power of ngrx
angular-spotify - Spotify client built with Angular 15, Nx Workspace, ngrx, TailwindCSS and ng-zorro
ngrx-immer - Immer wrappers around NgRx methods createReducer, on, and ComponentStore
mini-rx-comparison - Compare MiniRx FeatureStore with NgRx ComponentStore and Akita Store
redux-devtools-extension - Redux DevTools extension.