elf
store
elf | store | |
---|---|---|
5 | 4 | |
1,552 | 3,511 | |
1.6% | 0.4% | |
8.0 | 9.0 | |
18 days ago | 3 days 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.
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
store
-
Angular state management
It's still boilerplatey but a little less than NgRx. But we use Ngxs: https://ngxs.io. It's a little more complex than elf but a lot more robust in my opinion.
-
Why is NGRX so confusing??
Hi, I switched to ngxs a while ago. (https://github.com/ngxs/store). Never been happier about this change. ngxs is written in angular way and easier to understand and it just works.
-
Selector Returning Entire State Rather Than State Slice
// In doing this refactoring I noticed that there is a 'bug' where the // application state is returned instead of this state slice. // This has worked this way since the beginning see: // https://github.com/ngxs/store/blame/324c667b4b7debd8eb979006c67ca0ae347d88cd/src/state-factory.ts // This needs to be fixed, but is a 'breaking' change. // I will do this fix in a subsequent PR and we can decide how to handle it.
-
WEIRD TS TYPES 🛸: Using Contextual Typing and Deferred Inference to Plan an Alien Conquest
This was recently exemplified by an RFC in the state library NGXS. In short, one of the functions published by the library was improperly typed because the type of its first argument was intended to be inferred from its contextually expected return type.
What are some alternatives?
query - 🚀 Powerful asynchronous state management, server-state utilities and data fetching for Angular Applications
ngrx-rtk-query - Make RTK Query with Hooks works in Angular Applications
ignition - A beautiful error page for Laravel apps
ngrx-forms - Enhance your forms in Angular applications with the power of ngrx
Anvil - Minimal UI library for Android inspired by React
community-events-angular - Community Events App built with ❤️ using Angular, NgRx, Rxjs to do thrill in #hacktoberfest21
Conductor - A small, yet full-featured framework that allows building View-based Android applications
juliette - Reactive State Management Powered by RxJS
redux - A JS library for predictable global state management
ignition - Kick-starts Android application development.
platform - Reactive State for Angular