@studiohyperdrive/ngx-store
v19.0.0
Published
A set of utils and services to plug into a Redux/NGRX Angular workflow.
Downloads
237
Readme
Angular Tools: NgxStore (@studiohyperdrive/ngx-store
)
NGX-store aims to reduce the boilerplate that comes with @ngrx
, @ngrx/effects
and @ngrx/entity
; whilst still including the benefits of said packages.
Each of the provided utils can be used individually, but we strongly advice to use all three utils as a coherent unit to get the best developers experience.
Installation
Install the package first:
npm install @studiohyperdrive/ngx-store
Versioning and build information
This package will follow a semver-like format, major.minor.patch
, in which:
major
: Follows the Angular major versionminor
: Introduces new features and (potential) breaking changespatch
: Introduces bugfixes and minor non-breaking changes
For more information about the build process, authors, contributions and issues, we refer to the hyperdrive-opensource repository.
Concept
As mentioned before, ngx-store
works in tandem with @ngrx
. The package aims to optimize the workflow for (complex) projects that currently already use this redux implementation.
With this in mind, our goal is to make this package as flexible as possible. We are aware that existing projects often already have their own approach to their store setup, and therefor we try to provide solutions that can be used when needed. Whilst we strongly suggest using the entire system for the optimal approach, several of our utils are entirely optional. The use of handleEffect
, dispatchDataToStore
and the StoreService
is never mandatory and all utils are opt-in at any stage.
Because of this approach, our implementation has to take into account these constraints and will therefore deviate from the standard redux implementation.
Documentation
To find more information regarding this package, we refer to our documentation platform.