This repository serves as a practical guide to implementing state management in Angular applications using NgRx. As Angular applications grow in complexity, managing state becomes a crucial aspect, and NgRx offers a robust solution.
For a comprehensive understanding of the concepts covered here, please refer to the Medium article: NGRX: Angular State Management Beginner's Guide
src
├── app
│ ├── counter
│ │ ├── counter.component.html
│ │ ├── counter.component.scss
│ │ ├── counter.component.spec.ts
│ │ └── counter.component.ts
│ ├── states
│ │ ├── counter
│ │ │ ├── counter.actions.ts
│ │ │ ├── counter.reducer.ts
│ │ │ └── counter.selector.ts
│ │ └── app.state.ts
│ ├── app.component.html
│ └── app.module.ts
-
Clone this repository:
git clone https://github.com/madhurajayashanka/ngrx-tut
-
Install dependencies:
npm install
-
Run the Angular application:
ng serve
Visit http://localhost:4200/ to view the Counter App in action.
For a detailed walkthrough, refer to the Medium article.