@studiohyperdrive/ngx-store
TypeScript icon, indicating that this package has built-in type declarations

19.2.0 • Public • Published

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 version
  • minor: Introduces new features and (potential) breaking changes
  • patch: 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 NgxStoreService 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.

Package Sidebar

Install

npm i @studiohyperdrive/ngx-store

Weekly Downloads

111

Version

19.2.0

License

MIT

Unpacked Size

65.2 kB

Total Files

25

Last publish

Collaborators

  • jeroenvalcke
  • tom-odb
  • brilniels
  • shd-developer
  • thomasbormans
  • sanderh
  • laurenspeeters
  • rednas
  • denisvalcke
  • ibenvandeveire
  • ian-emsens-shd
  • wouterheirstrate
  • bertyhell
  • ekincia
  • npieter
  • wouterbas
  • reunefe