store
ngrx-rtk-query
store | ngrx-rtk-query | |
---|---|---|
4 | 3 | |
3,511 | 54 | |
0.4% | - | |
9.0 | 8.6 | |
5 days ago | about 1 month 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.
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.
ngrx-rtk-query
-
Clean Front End Architecture with SvelteKit
Yep, we actually have an RTK Query + Svelte sandbox in our examples page!
https://redux-toolkit.js.org/rtk-query/usage/examples#svelte
We've also seen people use RTKQ with Vue and NgRx as well, like this:
- https://github.com/SaulMoro/ngrx-rtk-query
-
Redux Toolkit 1.6.0 - new RTK Query data caching API!
You know about ngrx-rtk-query?
-
Cousins playing nicely: Experimenting with NgRx Store and RTK Query
Note: While I was going through my experiment, Saul Moro also created a hook-style library for Angular, NgRx, and RTK Query. Check out the repo at: https://github.com/SaulMoro/ngrx-rtk-query
What are some alternatives?
ngrx-forms - Enhance your forms in Angular applications with the power of ngrx
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
community-events-angular - Community Events App built with ❤️ using Angular, NgRx, Rxjs to do thrill in #hacktoberfest21
rtk-query-codegen
juliette - Reactive State Management Powered by RxJS
oazapfts - Generate TypeScript clients to tap into OpenAPI servers
query - 🚀 Powerful asynchronous state management, server-state utilities and data fetching for Angular Applications
graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
elf - 🧙♀️ A Reactive Store with Magical Powers
ngrx-rtk-query - A sample application using NgRx Store and RTK Query
platform - Reactive State for Angular
Visual Studio Code - Visual Studio Code