@ngxs-labs/dispatch-decorator
Advanced tools
Comparing version 4.0.1 to 4.0.2
{ | ||
"$schema": "../node_modules/ng-packagr/package.schema.json", | ||
"name": "@ngxs-labs/dispatch-decorator", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -7,3 +7,3 @@ <p align="center"> | ||
> Distribution for separation of concern between the state management and the view | ||
> The distribution for separation of concern between the state management and the view | ||
@@ -13,7 +13,7 @@ [![NPM](https://badge.fury.io/js/%40ngxs-labs%2Fdispatch-decorator.svg)](https://www.npmjs.com/package/@ngxs-labs/dispatch-decorator) | ||
This package simplifies the dispatching process. You shouldn't care about `Store` service injection as we provide a more declarative way to dispatch events out of the box. | ||
This package simplifies the dispatching process. It would be best if you didn't care about `Store` service injection as we provide a more declarative way to dispatch events out of the box. | ||
## 📦 Install | ||
To install the `@ngxs-labs/dispatch-decorator` run the following command: | ||
To install the `@ngxs-labs/dispatch-decorator`, run the following command: | ||
@@ -71,3 +71,3 @@ ```console | ||
After registering our state in the `NgxsModule`, we are ready to try the plugin out. Given the following component: | ||
We are ready to try the plugin after registering our state in the `NgxsModule`, given the following component: | ||
@@ -133,3 +133,3 @@ ```typescript | ||
Dispatchers can return arrays. Actions will be handled synchronously one by one if their action handlers do synchronous job and vice versa if their handlers are asynchronous: | ||
Dispatchers can return arrays. NGXS will handle actions synchronously if their action handlers do a synchronous job and vice versa if their handlers are asynchronous. | ||
@@ -159,3 +159,3 @@ ```typescript | ||
If we want to cancel previously uncompleted `getNovels` request then we need to provide the `cancelUncompleted` option: | ||
If we want to cancel previously uncompleted `getNovels` request, then we need to provide the `cancelUncompleted` option: | ||
@@ -162,0 +162,0 @@ ```ts |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92840