# @angular/store

## Installation

```typescript
npm install angular-store --save
```

## Example

You can find example [here](https://stackblitz.com/github/saiumesh535/angualr-store-example)

If you have come this far, I believe you know what is State management in angular application. There are more than couple of state management libraries already available for Angular and they are great. Then you might be thinking why new library!. When I started to implement them in my own application, I hated how much code one should write to create state and it's other parts such as Selectors, Actions and etc..

This library focuses on reducing boilerplate code yet, covers major features from other libraries.

There are couple of things we will learn before we going to see how to implement it.

1. **`State`**
2. **`Selector`**
3. **`Action`**
4. **`Reducer`**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://angular-store.gitbook.io/project/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
