ngrx-traits
ngrx-traits copied to clipboard
NGRX Traits is a library to help you compose and reuse state logic in your angular app. There is two versions, @ngrx-traits/signals supports ngrx-signals, and @ngrx-traits/{core, common} supports ngr...
New default debounce for withEntitiesLocal and Remote Filter New docs
The idea of this store feature is that when added to a configuration that has withEntities and/or withEntities*Filter and withEntities*Sort* and/or withEntities*Pagination will read from the url and update the...
Improvement - FilterEntities, SortEntities, LoadEntitiesPage should allow to only change the state
Allowing these functions to only change the state gives the flexibility to update the state and trigger the entitiesLoading when desired. Example: PRIMENG lazy table, emits a single event that...
In withEntitiesSingleSelection deselectEntity and deselect[Collection]Entity methods should not receive any param
In the @ngrx-traits/signals package, the `with-state-logger` and `with-sync-to-web-storage` files are generating type definitions that fail to compile. This can be seen here: https://stackblitz.com/edit/ngrx-signal-store-starter-7bcgrp?file=node_modules%2F%40ngrx-traits%2Fsignals%2Flib%2Fwith-sync-to-web-storage%2Fwith-sync-to-web-storage.d.ts I'm not sure why this still is...
When creating a reusable signalStoreFeature and adding multiple withEntities, If I need to use a withEntitiesLocalFilter for one of the entities, signalStoreFeature is broken. example that doesn't work: ```typescript const...
Currently we can not create a custom store features with generics that use entity and collection pass to the withEntities* for example ```typescript export function withEntityMethods< Entity extends { id:...
Allow override the sortFunction used in the entities sort fix #131
Please add the ability to compare Date object in [local sort](https://github.com/gabrielguerrero/ngrx-traits/blob/main/libs/ngrx-traits/signals/src/lib/with-entities-sort/with-entities-local-sort.util.ts) or even better, add the ability to define custom sort function for specific field.