> For the complete documentation index, see [llms.txt](https://bharat-tiwari.gitbook.io/our-tech-journal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bharat-tiwari.gitbook.io/our-tech-journal/angular-4/ngrx.md).

# ngRx

Redux = a design pattern that keeps all the application data in a single Javascript object

ngRX = data/state management framework for Angular that uses Redux pattern implemented using RxJS library

Visualize Redux as below,

Single JS Object => DB => **Store** To change Data in the we send query, for Store => send or dispatch **'Action'**

**Reducer** => map of Actions that maps which Action does what to the data
