Skip to content

Commit

Permalink
Merge pull request #76 from ng-turkey/fix/75
Browse files Browse the repository at this point in the history
Fix StateResetAll for Angular 14
  • Loading branch information
armanozak authored Sep 30, 2022
2 parents a0691e4 + 7ebfe90 commit 0eaaa84
Show file tree
Hide file tree
Showing 7 changed files with 24,680 additions and 7,315 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@

This plugin is designed to clear, reset, and overwrite [NGXS](https://www.npmjs.com/package/@ngxs/store) states on dispatch of predefined actions. Please check [this playground](https://stackblitz.com/edit/ngxs-pizza?file=src%2Fapp%2Forder%2Forder.handler.ts) for a working example.

If you wonder why you would need a plugin like this, when there is already a reset method in NGXS, you may find the [reasons](#reasons-to-use-this-plugin) below. Otherwise, skip to the [installation](#installation) or [usage](#usage) section.
Please use the table below to make sure you are using the correct version of this library.

| Angular<br>version | ngxs-reset-plugin<br>version |
| :----------------: | :--------------------------: |
| 14+ | 3 |
| 13 | 2 |
| 12 | 2 |
| < 12 | 1 |

**Notice:** If you are using Angular **v12+**, please upgrade to **[v2+](https://github.com/ng-turkey/ngxs-reset-plugin/releases/tag/v2.0.0)**.
If you wonder why you would need a plugin like this, when there is already a reset method in NGXS, you may find the [reasons](#reasons-to-use-this-plugin) below. Otherwise, skip to the [installation](#installation) or [usage](#usage) section.

## Reasons to Use This Plugin

Expand Down
Loading

0 comments on commit 0eaaa84

Please sign in to comment.