@ngrx-traits/common
TypeScript icon, indicating that this package has built-in type declarations

17.5.0 • Public • Published

NGRX-Traits

NGRX Traits is a library to help you compose and reuse a set ngrx actions, selectors, effects and reducers across your app.

Features

  • ✅ Reduce boilerplate with generated strongly typed actions, selectors, reducers, and effects.
  • ✅ Easily mix with your own actions, selectors, reducers, and effects
  • ✅ Create your own traits, to easily reuse business logic
  • ✅ Transform any trait config from a global store to a local store bound to a components lifecycle
  • ✅ Trait to load entities list
  • ✅ Trait to filter remote and locally entities list
  • ✅ Trait to sort remote and locally entities list
  • ✅ Trait to paginate entities list
  • ✅ Trait to add single or multi selection entities list
  • ✅ Trait to add crud operations to an entities list
  • ✅ Trait to load single entities
  • ✅ Trait to reduce boilerplate needed when calling backend apis
  • ✅ Trait to set a value in the store
  • ✅ Caching

Installation and Usage

npm i @ngrx-traits/{core,common} --save

For more documentation go to our github page

/@ngrx-traits/common/

    Package Sidebar

    Install

    npm i @ngrx-traits/common

    Weekly Downloads

    74

    Version

    17.5.0

    License

    none

    Unpacked Size

    729 kB

    Total Files

    147

    Last publish

    Collaborators

    • gabrielguerrero