ming86 / Libnr

Angular 7, Angular Material and NGXS as a state management pattern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 7, Angular Material and NGXS state management pattern

This is a simple project showcasing another way to manage state in an Angular application using the NGXS state management pattern.


NGXS is modeled after the CQRS which is a pattern that both Redux and NGRX implement.
The advantages that NGXS gives are:

  1. It reduces the boilerplate,
  2. It enables us to use dependency injection,
  3. and it enables us to use promises when we need them :).

alt text


Check out the docs at NGXS

Developed by Adonis Murati

About

Angular 7, Angular Material and NGXS as a state management pattern


Languages

Language:TypeScript 73.4%Language:HTML 11.1%Language:JavaScript 7.9%Language:CSS 7.7%