gabrielguerrero / ngrx-traits

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 ngrx.
MIT License
44 stars 3 forks source link

Fix/several fixes #66

Closed gabrielguerrero closed 2 months ago

gabrielguerrero commented 2 months ago

Fixed bug using patchState inside onSuccess, and added typedConfigCall helper method to get the result param in onSuccess typed

Fixes #64 and #65

Also improved types in withSyncToWebStorage, withStateLogger and withEntitiesLoadingCall, also improved docs and added an example usage for withSyncToWebStorage