Angular ngrx

From bibbleWiki
Revision as of 01:13, 5 September 2020 by Iwiseman (talk | contribs) (Created page with "=Introduction= ngRx is a version of redux for Angular. =Redux Pattern= It provides a “unidirectional data flow” that helps to manage and organise data better and makes deb...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

ngRx is a version of redux for Angular.

Redux Pattern

It provides a “unidirectional data flow” that helps to manage and organise data better and makes debugging a lot easier.

When to Use ngRx

  • provides a place for UI state to retain ti between router views
  • provides client-side cache to use as needed
  • reducer updates the store and the store notifies all subscribers
  • it has great tooling