🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

ngrx-traits

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngrx-traits

NGRX Traits is a set of factory functions that dynamically generate actions, effects, reducers needed for common functionality like loading a list of entities, filtering, pagination, sorting. They can be mix and match, so you only use what you need, and y

latest
Source
npmnpm
Version
2.6.0
Version published
Maintainers
1
Created
Source

NGRX-Traits

NGRX Traits is a set of factory functions that dynamically generate actions, effects, reducers needed for common functionality like loading a list of entities, filtering, pagination, sorting. They can be mix and match, so you only use what you need, and you can create your own to for example reuse some business logic 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 and cache 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

Installation and Usage

npm install ngrx-traits

For more documentation go to our github page

FAQs

Package last updated on 30 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts