elf
angular-state-library
elf | angular-state-library | |
---|---|---|
5 | 3 | |
1,552 | 7 | |
1.6% | - | |
8.0 | 10.0 | |
18 days ago | over 1 year ago | |
TypeScript | TypeScript | |
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.
elf
-
Angular state management
I have reasonable knowledge with most of other popular JS frameworks especially React. But, Angular seems quite different from DX perspective. For React, my default stage management is to use React Query for server sync and Zustand for client state. Often on Angular context I read that people recommend using NgRx and saying that it is like Redux. But I find Redux DX quite bad and I only work with it on legacy projects. So is there similar approach to managing state in Angular app? I found solutions such as: https://github.com/ngneat/query and then https://github.com/ngneat/elf. Would these make sense for Angular and are there good alternatives?
-
State of Akita - superseded by Elf?
Seems that the focus is moving completely on Elf, Netanel itself removed Akita from Elf docs just 3 weeks ago: https://github.com/ngneat/elf/commit/4546d76f5adfc2c59cf188a1550c0a1d31fccd42
-
best guide for creating a custom state management in RXJS
I like ElfJs, It's framework agnostic state management built on top of RxJS and has simple API, it works well with Angular.
-
Clean Architecture in Frontend
The data layer consists of the data service and the repository. Data service orchestrates operations and logic while the repository is responsible for in-memory caching. I use @ngneat/elf for the repository implementation. Although it can be any other library or even fully custom code.
-
Looking for input on saving state using observables in a service
Alternative: https://github.com/ngneat/elf
angular-state-library
-
Directives As A Service
One of the unique selling points of Angular State Library is that every store is a @Directive.
-
Reactivity In Actions
In Angular State Library actions are everything. And everything is an action.
-
Angular State Library
This project currently has no sponsor. It's no where near production ready. If you are interested in contributing or dogfooding please open a line on Github discussions, or leave a comment with your thoughts below.
What are some alternatives?
store - 🚀 NGXS - State Management for Angular
router-component-store - An Angular Router-connecting NgRx component store.
query - 🚀 Powerful asynchronous state management, server-state utilities and data fetching for Angular Applications
akita - 🚀 State Management Tailored-Made for JS Applications
ignition - A beautiful error page for Laravel apps
juliette - Reactive State Management Powered by RxJS
Anvil - Minimal UI library for Android inspired by React
diffx - A state management library for React, Vue.js, Svelte, Angular and vanilla javascript
Conductor - A small, yet full-featured framework that allows building View-based Android applications
mini-rx-store - MiniRx - The reactive state management platform
redux - A JS library for predictable global state management
platform - Reactive State for Angular