/ngrx-example

Application Showing How to Use NgRx

Primary LanguageTypeScript

Application Showing How to Use NgRx

This application illustrates how to use NgRx to implement the state management of your application.

It is an example for for the following post:

https://blog.nrwl.io/using-ngrx-4-to-manage-state-in-angular-applications-64e7a1f84b7b

  • The first commit shows an application with an ad-hoc state-management strategy (with a few issues).
  • The second commit fixes the issues in ad-hoc way.
  • The third commit is the refactoring introducing NgRx 8.

Nx

The example in this blog posts is built using Nx--extensible dev tools for monorepos.

Nx simplifies the creation of full-stack application using Angular, NgRx and NestJs. Check it out at: nx.dev

Try It!

  • Run yarn
  • Run ng serve api
  • Run ng serve talks
  • Open https://localhost:4200