kiss-for-react 2.0.4 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../src/Store.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAiB,SAAS,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EACL,YAAY,EAGZ,UAAU,EAQV,aAAa,EACd,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAQtC,kGAAkG;AAClG,MAAM,MAAM,OAAO,GAAG;IAAE,SAAS,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC;AAoB7D;;;;GAIG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,GAAG;IACrC;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC;AAEtE,UAAU,iBAAiB,CAAC,EAAE;IAE5B;;OAEG;IACH,YAAY,EAAE,EAAE,CAAC;IAEjB;;;;;;;;;;;;;;;OAeG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;;;;;;;;;;;;;OAiBG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC;IAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,YAAY,CA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AU,CAAC,EAAE,CAAC,GAAG,IAAI;IAIhE,KAAK,IAAI,IAAI;IAIb,GAAG,CAAC,CAAC,SAAS,UAAU,CAAC,EAAE,CAAC,EAC1B,UAAU,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,UAAU,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,SAAS;CAG7F;AAED,MAAM,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC"}
package/lib/esm/Hooks.mjs CHANGED
@@ -677,10 +677,23 @@ export function useDispatchSync() {
677
677
  *
678
678
  * Pass `{ statusKey }` to consider only the actions with that `statusKey` (see
679
679
  * `KissAction.statusKey`): `useIsWaiting(LoadUser, { statusKey: userId })`.
680
+ *
681
+ * Pass an array of types to know if an action of ANY of them is being processed:
682
+ *
683
+ * ```ts
684
+ * const isLoading = useIsWaiting([LoadUser, LoadPosts]);
685
+ * ```
686
+ *
687
+ * Use this instead of `useIsWaiting(LoadUser) || useIsWaiting(LoadPosts)`, which breaks the rules
688
+ * of hooks: when the first hook returns true, the second one is not called. An empty array
689
+ * returns false. A `statusKey` applies to all the types in the array.
680
690
  */
681
691
  export function useIsWaiting(type, options) {
682
692
  const store = useStoreFromContext();
683
693
  const statusKey = options?.statusKey;
694
+ // An array written inline is a new array in each render, so this callback is also new in each
695
+ // render. That's fine: `useSyncExternalStore` only subscribes again when `subscribe` changes,
696
+ // and it re-renders only when the returned value changes.
684
697
  const getIsWaiting = useCallback(() => store.isWaiting(type, { statusKey }), [store, type, statusKey]);
685
698
  return useSyncExternalStore(store._subscribeStatus, getIsWaiting, _returnFalse);
686
699
  }
@@ -781,6 +794,9 @@ export function useConfiguration() {
781
794
  *
782
795
  * Pass `{ statusKey }` to consider only the failures with that `statusKey` (see
783
796
  * `KissAction.statusKey`): `useIsFailed(LoadUser, { statusKey: userId })`.
797
+ *
798
+ * Pass an array of types to know if ANY of them failed: `useIsFailed([LoadUser, LoadPosts])`.
799
+ * An empty array returns false. A `statusKey` applies to all the types in the array.
784
800
  */
785
801
  export function useIsFailed(type, options) {
786
802
  const store = useStoreFromContext();
@@ -802,6 +818,10 @@ export function useIsFailed(type, options) {
802
818
  * `KissAction.statusKey`): `useExceptionFor(LoadUser, { statusKey: userId })`. Without it,
803
819
  * if actions with different keys failed, you get the `UserException` of the most recent
804
820
  * failure.
821
+ *
822
+ * Pass an array of types to get the `UserException` of the first type in the array that has
823
+ * one: `useExceptionFor([LoadUser, LoadPosts])`. Put the most important type first. An empty
824
+ * array returns `null`. A `statusKey` applies to all the types in the array.
805
825
  */
806
826
  export function useExceptionFor(type, options) {
807
827
  const store = useStoreFromContext();
@@ -827,6 +847,8 @@ export function useExceptionFor(type, options) {
827
847
  * Pass `{ statusKey }` to clear only the failure with that `statusKey` (see
828
848
  * `KissAction.statusKey`): `clearExceptionFor(LoadUser, { statusKey: userId })`. Without it,
829
849
  * all the failures of the type are cleared, whatever their keys.
850
+ *
851
+ * Pass an array of types to clear all of them: `clearExceptionFor([LoadUser, LoadPosts])`.
830
852
  */
831
853
  export function useClearExceptionFor() {
832
854
  const store = useStoreFromContext();
@@ -876,6 +898,12 @@ export function useClearExceptionFor() {
876
898
  * `KissAction.statusKey`): `useSuspense(LoadUser, { statusKey: userId })`. Without it, the
877
899
  * component suspends while any action of the type runs, and throws its most recent failure.
878
900
  *
901
+ * Pass an array of types when the component needs the result of several actions:
902
+ * `useSuspense([LoadUser, LoadPosts])`. The component suspends while an action of ANY of the
903
+ * types runs, and renders again when none of them runs. Then, if any of them failed, it throws
904
+ * the error of the first type in the array that failed. A `statusKey` applies to all the types
905
+ * in the array.
906
+ *
879
907
  * On the server and while hydrating, the hook never suspends or throws, like `useIsWaiting`
880
908
  * and `useIsFailed` are `false` there (see `StoreProviderProps.serverState`). After hydration,
881
909
  * it follows the live store.
@@ -1032,6 +1060,8 @@ class StoreDispatchers {
1032
1060
  * ```
1033
1061
  *
1034
1062
  * Pass `{ statusKey }` to abort only the actions with that `statusKey`.
1063
+ *
1064
+ * Pass an array of types to abort the actions of all of them: `abort([LoadUser, LoadPosts])`.
1035
1065
  */
1036
1066
  abort(type, options) {
1037
1067
  this.store.abort(type, options);
@@ -52,33 +52,43 @@ export class KissAction {
52
52
  * This method is useful for actions that need to perform some checks before executing the
53
53
  * reducer. If necessary, it can prevent the reducer from running by throwing an exception.
54
54
  *
55
- * For example, the default `before()` method checks if the `checkInternet` property was set.
56
- * If it was set, it checks if the device has an internet connection. If the connection is not
57
- * present, it throws a `UserException` (or an `AbortDispatchException`, with
58
- * `checkInternet = { abort: true }`), preventing the reducer from running.
55
+ * The default `before()` does nothing, and no Kiss feature uses it. So you don't need to call
56
+ * `super.before()` when you override it. For example, the internet check of `checkInternet`
57
+ * is done by the store, before it calls `before()`.
59
58
  *
60
59
  * Note the `after()` method always runs, even if the `before()` method throws an exception.
61
60
  */
62
61
  before() {
63
- if (this.checkInternet) {
64
- const { dialog, abort } = this.checkInternet;
65
- return this._hasInternet().then((isConnected) => {
66
- if (!isConnected) {
67
- if (abort) {
68
- throw kissAbort('No Internet');
69
- }
70
- else if (dialog) {
71
- throw new UserException("Please, verify your connection.").withTitle("There is no Internet");
72
- }
73
- else {
74
- throw new UserException("No Internet").withDialog(false);
75
- }
76
- }
77
- });
78
- }
79
- // Return void (not a Promise) when we don't need to check internet.
80
- else
81
- return;
62
+ }
63
+ /**
64
+ * Returns the error of an action with `checkInternet`, when there is no internet. Override it
65
+ * to show a different error. For example:
66
+ *
67
+ * ```ts
68
+ * class LoadPrices extends Action {
69
+ * checkInternet = { dialog: true };
70
+ *
71
+ * protected noInternetException() {
72
+ * return new UserException('You are offline. The prices could not be loaded.');
73
+ * }
74
+ *
75
+ * async reduce() { ... }
76
+ * }
77
+ * ```
78
+ *
79
+ * The store calls it only when there is no internet, and the `dialog` option of
80
+ * `checkInternet` decides if the returned exception opens a dialog: the store calls
81
+ * `withDialog(dialog)` on it. It's not called with `checkInternet = { abort: true }`, since
82
+ * the action is then aborted silently.
83
+ *
84
+ * By default, it returns a `UserException` with the message "Please, verify your connection."
85
+ * and the title "There is no Internet" (with `dialog: true`), or with the message
86
+ * "No Internet" (with `dialog: false`).
87
+ */
88
+ noInternetException() {
89
+ return this.checkInternet?.dialog
90
+ ? new UserException('Please, verify your connection.').withTitle('There is no Internet')
91
+ : new UserException('No Internet');
82
92
  }
83
93
  /**
84
94
  * Checks if the device has an internet connection, for `checkInternet` and
@@ -100,7 +110,7 @@ export class KissAction {
100
110
  *
101
111
  * const store = createStore<State>({
102
112
  * initialState: State.initialState,
103
- * onlineSource: (setOnline) => NetInfo.addEventListener((s) => setOnline(s.isConnected === true)),
113
+ * onlineSource: (setOnline) => NetInfo.addEventListener((s) => setOnline(s.isConnected !== false)),
104
114
  * });
105
115
  * ```
106
116
  *
@@ -110,7 +120,7 @@ export class KissAction {
110
120
  *
111
121
  * ```typescript
112
122
  * protected hasInternet(): Promise<boolean> {
113
- * return NetInfo.fetch().then(state => state.isConnected === true);
123
+ * return NetInfo.fetch().then(state => state.isConnected !== false);
114
124
  * }
115
125
  * ```
116
126
  *
@@ -636,6 +646,9 @@ export class KissAction {
636
646
  *
637
647
  * Pass `{ statusKey }` to consider only the actions with that `statusKey` (see `statusKey`):
638
648
  * `this.isWaiting(LoadUser, { statusKey: userId })`.
649
+ *
650
+ * Pass an array of types to know if an action of ANY of them is being processed:
651
+ * `this.isWaiting([LoadUser, LoadPosts])`.
639
652
  */
640
653
  isWaiting(type, options) {
641
654
  return this.store.isWaiting(type, options);
@@ -649,6 +662,8 @@ export class KissAction {
649
662
  *
650
663
  * Pass `{ statusKey }` to consider only the failures with that `statusKey` (see `statusKey`):
651
664
  * `this.isFailed(LoadUser, { statusKey: userId })`.
665
+ *
666
+ * Pass an array of types to know if ANY of them failed: `this.isFailed([LoadUser, LoadPosts])`.
652
667
  */
653
668
  isFailed(type, options) {
654
669
  return this.store.isFailed(type, options);
@@ -662,6 +677,9 @@ export class KissAction {
662
677
  * Pass `{ statusKey }` to get the exception of the failure with that `statusKey` (see
663
678
  * `statusKey`): `this.exceptionFor(LoadUser, { statusKey: userId })`. Without it, if actions
664
679
  * with different keys failed, you get the `UserException` of the most recent failure.
680
+ *
681
+ * Pass an array of types to get the `UserException` of the first type in the array that has
682
+ * one: `this.exceptionFor([LoadUser, LoadPosts])`.
665
683
  */
666
684
  exceptionFor(type, options) {
667
685
  return this.store.exceptionFor(type, options);
@@ -682,6 +700,8 @@ export class KissAction {
682
700
  * Pass `{ statusKey }` to clear only the failure with that `statusKey` (see `statusKey`):
683
701
  * `this.clearExceptionFor(LoadUser, { statusKey: userId })`. Without it, all the failures of
684
702
  * the type are cleared, whatever their keys.
703
+ *
704
+ * Pass an array of types to clear all of them: `this.clearExceptionFor([LoadUser, LoadPosts])`.
685
705
  */
686
706
  clearExceptionFor(type, options) {
687
707
  return this.store.clearExceptionFor(type, options);
@@ -1014,8 +1034,8 @@ export class KissAction {
1014
1034
  *
1015
1035
  * Other notes:
1016
1036
  * - It works with both SYNC and ASYNC reducers. Even SYNC reducers can be affected, when an
1017
- * ASYNC `before` (for example, the one of `checkInternet`) makes an older action reach its
1018
- * reducer after a newer one was dispatched.
1037
+ * ASYNC `before` (or the internet check of `checkInternet`) makes an older action reach
1038
+ * its reducer after a newer one was dispatched.
1019
1039
  * - `store.clearInternalActionProps()` forgets the keys. The actions dispatched after it
1020
1040
  * don't make the ones dispatched before it old.
1021
1041
  */
@@ -3169,6 +3189,7 @@ export class OptimisticCommand extends KissAction {
3169
3189
  /**
3170
3190
  * Do NOT override this method. Implement `optimisticValue`, `getValueFromState`,
3171
3191
  * `applyValueToState` and `sendCommandToServer` instead.
3192
+ * If you override it, the dispatch throws a `StoreException`.
3172
3193
  */
3173
3194
  async reduce() {
3174
3195
  // The value to roll back to. It's read now, and not from `initialState`, because the action
@@ -3331,6 +3352,7 @@ export class OptimisticCommand extends KissAction {
3331
3352
  */
3332
3353
  _injectStore(_store) {
3333
3354
  super._injectStore(_store);
3355
+ _checkNotOverridden(this, OptimisticCommand, 'an OptimisticCommand', 'reduce', 'Implement `optimisticValue`, `getValueFromState`, `applyValueToState` and `sendCommandToServer` instead.');
3334
3356
  if (this.nonReentrant)
3335
3357
  throw new StoreException(`Action ${this.constructor.name} is an OptimisticCommand, which is always non-reentrant. ` +
3336
3358
  'Remove its `nonReentrant` property.');
@@ -3811,6 +3833,7 @@ export class OptimisticSync extends KissAction {
3811
3833
  /**
3812
3834
  * Do NOT override this method. Implement `valueToApply`, `applyOptimisticValueToState`,
3813
3835
  * `getValueFromState` and `sendValueToServer` instead.
3836
+ * If you override it, the dispatch throws a `StoreException`.
3814
3837
  */
3815
3838
  async reduce() {
3816
3839
  const value = this.valueToApply();
@@ -3907,6 +3930,7 @@ export class OptimisticSync extends KissAction {
3907
3930
  */
3908
3931
  _injectStore(_store) {
3909
3932
  super._injectStore(_store);
3933
+ _checkNotOverridden(this, OptimisticSync, 'an OptimisticSync', 'reduce', 'Implement `valueToApply`, `applyOptimisticValueToState`, `getValueFromState` and `sendValueToServer` instead.');
3910
3934
  _checkIncompatibleFeatures(this, 'an OptimisticSync', false);
3911
3935
  }
3912
3936
  }
@@ -4344,6 +4368,7 @@ export class OptimisticSyncWithPush extends KissAction {
4344
4368
  /**
4345
4369
  * Do NOT override this method. Implement `valueToApply`, `applyOptimisticValueToState`,
4346
4370
  * `getValueFromState`, `sendValueToServer` and `getServerRevisionFromState` instead.
4371
+ * If you override it, the dispatch throws a `StoreException`.
4347
4372
  */
4348
4373
  async reduce() {
4349
4374
  const key = this._key = this.computeOptimisticSyncKey();
@@ -4483,6 +4508,8 @@ export class OptimisticSyncWithPush extends KissAction {
4483
4508
  */
4484
4509
  _injectStore(_store) {
4485
4510
  super._injectStore(_store);
4511
+ _checkNotOverridden(this, OptimisticSyncWithPush, 'an OptimisticSyncWithPush', 'reduce', 'Implement `valueToApply`, `applyOptimisticValueToState`, `getValueFromState`, `sendValueToServer` ' +
4512
+ 'and `getServerRevisionFromState` instead.');
4486
4513
  _checkIncompatibleFeatures(this, 'an OptimisticSyncWithPush', false);
4487
4514
  }
4488
4515
  }
@@ -4611,6 +4638,7 @@ export class ServerPush extends KissAction {
4611
4638
  /**
4612
4639
  * Do NOT override this method. Implement `associatedAction`, `pushMetadata`,
4613
4640
  * `applyServerPushToState` and `getServerRevisionFromState` instead.
4641
+ * If you override it, the dispatch throws a `StoreException`.
4614
4642
  */
4615
4643
  reduce() {
4616
4644
  const key = this.computeOptimisticSyncKey();
@@ -4671,9 +4699,28 @@ export class ServerPush extends KissAction {
4671
4699
  */
4672
4700
  _injectStore(_store) {
4673
4701
  super._injectStore(_store);
4702
+ _checkNotOverridden(this, ServerPush, 'a ServerPush', 'reduce', 'Implement `associatedAction`, `pushMetadata`, `applyServerPushToState` and `getServerRevisionFromState` instead.');
4674
4703
  _checkIncompatibleFeatures(this, 'a ServerPush', true);
4675
4704
  }
4676
4705
  }
4706
+ /**
4707
+ * Throws a `StoreException` if the given action overrides `member` of the Kiss base class
4708
+ * `base` (for example, the `reduce` of an `OptimisticCommand`). The base class uses that member
4709
+ * to do its work, so overriding it would turn the feature off with no error. The `description`
4710
+ * describes the base class (for example, "an OptimisticCommand"), and `hint` says what to do.
4711
+ * For Kiss internal use only.
4712
+ * @internal
4713
+ */
4714
+ export function _checkNotOverridden(action, base, description, member, hint) {
4715
+ const has = (obj) => Object.prototype.hasOwnProperty.call(obj, member);
4716
+ // An arrow function property is in the action itself. A method or getter is in the prototype
4717
+ // of the action's class, or of one of its superclasses that extend the base class.
4718
+ let isOverridden = has(action);
4719
+ for (let proto = Object.getPrototypeOf(action); !isOverridden && proto && proto !== base.prototype; proto = Object.getPrototypeOf(proto))
4720
+ isOverridden = has(proto);
4721
+ if (isOverridden)
4722
+ throw new StoreException(`Action ${action.constructor.name} is ${description}, which must not override \`${member}\`. ${hint}`);
4723
+ }
4677
4724
  /**
4678
4725
  * Throws a `StoreException` if the given action, which is described by `description` (for
4679
4726
  * example, "an OptimisticSync"), uses a feature it can't use. It can only use `checkInternet`,
@@ -1,4 +1,4 @@
1
- import { _isSameNonReentrantKey, KissAction } from './KissAction.mjs';
1
+ import { _checkNotOverridden, _isSameNonReentrantKey, KissAction } from './KissAction.mjs';
2
2
  import { kissAbort, StoreException } from './StoreException.mjs';
3
3
  /**
4
4
  * The pages of a list loaded page by page, to keep in the state. It's created and changed by a
@@ -154,7 +154,8 @@ export class Pages {
154
154
  * - It should not be combined with `nonReentrant` or `ignoreOld`, since it already decides
155
155
  * which loads run. Dispatching it with those throws a `StoreException`.
156
156
  * - To poll a list, override `createPollingAction()` to return a `'refresh'`.
157
- * - Do not override `reduce`, `abortDispatch` or `statusKey`.
157
+ * - Do not override `reduce` or `statusKey` (the dispatch throws a `StoreException`), and an
158
+ * `abortDispatch` override must call `super.abortDispatch()`.
158
159
  */
159
160
  export class LoadPages extends KissAction {
160
161
  /**
@@ -185,7 +186,7 @@ export class LoadPages extends KissAction {
185
186
  pagesKeyParams() {
186
187
  return null;
187
188
  }
188
- /** The `statusKey` is `pagesKeyParams()`. Do NOT override this; override `pagesKeyParams()`. */
189
+ /** The `statusKey` is `pagesKeyParams()`. Do NOT override this (the dispatch throws a `StoreException`); override `pagesKeyParams()`. */
189
190
  get statusKey() {
190
191
  return this.pagesKeyParams();
191
192
  }
@@ -221,6 +222,7 @@ export class LoadPages extends KissAction {
221
222
  /**
222
223
  * Do NOT override this method. Implement `getPagesFromState`, `applyPagesToState`,
223
224
  * `initialPageParam`, `loadPage` and `nextPageParam` instead.
225
+ * If you override it, the dispatch throws a `StoreException`.
224
226
  */
225
227
  async reduce() {
226
228
  // A `'first'` or `'refresh'` aborts the other loads of the same list, so that the newest
@@ -314,6 +316,8 @@ export class LoadPages extends KissAction {
314
316
  */
315
317
  _injectStore(_store) {
316
318
  super._injectStore(_store);
319
+ _checkNotOverridden(this, LoadPages, 'a LoadPages', 'reduce', 'Implement `getPagesFromState`, `applyPagesToState`, `initialPageParam`, `loadPage` and `nextPageParam` instead.');
320
+ _checkNotOverridden(this, LoadPages, 'a LoadPages', 'statusKey', 'Override `pagesKeyParams()` instead, which is also the `statusKey`.');
317
321
  if (!['first', 'next', 'previous', 'refresh'].includes(this.which))
318
322
  throw new StoreException(`Action ${this.constructor.name} is a LoadPages with an invalid \`which\`: ${String(this.which)}. ` +
319
323
  `Use 'first', 'next', 'previous' or 'refresh'.`);
package/lib/esm/Store.mjs CHANGED
@@ -1485,7 +1485,7 @@ export class Store {
1485
1485
  const beforeResult = (async () => {
1486
1486
  if (discarded)
1487
1487
  throw kissAbort('Discarded from the sequential queue.');
1488
- return action['before']();
1488
+ return this._runBefore(action);
1489
1489
  })();
1490
1490
  this._runAsyncBeforeOnwards(action, beforeResult).then();
1491
1491
  });
@@ -1885,10 +1885,31 @@ export class Store {
1885
1885
  this._notSyncErrors.add(error);
1886
1886
  return error;
1887
1887
  }
1888
+ // Runs the internet check of `checkInternet`, if the action has it, and then the action's
1889
+ // `before`. The check is done here, and not in the default `before`, so that it still works
1890
+ // when the action overrides `before` without calling `super.before()`. If there is no
1891
+ // internet, it throws, and `before` doesn't run. Returns a Promise only if there is an
1892
+ // internet check, or if `before` is async, so that the other actions stay SYNC.
1893
+ _runBefore(action) {
1894
+ const options = action.checkInternet;
1895
+ if (!options)
1896
+ return action['before']();
1897
+ return action._hasInternet().then((isConnected) => {
1898
+ if (!isConnected) {
1899
+ if (options.abort)
1900
+ throw kissAbort('No Internet');
1901
+ throw action['noInternetException']().withDialog(!!options.dialog);
1902
+ }
1903
+ return action['before']();
1904
+ });
1905
+ }
1888
1906
  _runFromStart(action, mustBeSync) {
1889
1907
  // A debounced action always waits for its debounce period, so it can't be SYNC.
1890
1908
  if (mustBeSync && action._debounceMillis !== null)
1891
1909
  throw this._notSyncError(`You called dispatchSync(${action.constructor.name}), but the action uses debounce, which makes it ASYNC.`);
1910
+ // The internet check of `checkInternet` is async, so the action can't be SYNC.
1911
+ if (mustBeSync && action.checkInternet)
1912
+ throw this._notSyncError(`You called dispatchSync(${action.constructor.name}), but the action uses checkInternet, which makes it ASYNC.`);
1892
1913
  // A sequential action always waits for its turn in the queue, so it can't be SYNC.
1893
1914
  if (action.sequential) {
1894
1915
  if (mustBeSync)
@@ -1902,9 +1923,9 @@ export class Store {
1902
1923
  if (action.ignoreOld && !this._pollSkipsReduce(action))
1903
1924
  this._abortOlderIgnoreOld(action);
1904
1925
  // BEFORE
1905
- // 1) Runs the `before` method.
1926
+ // 1) Runs the `before` method (after the internet check of `checkInternet`, if any).
1906
1927
  // It may be sync or async, but it doesn't return anything.
1907
- const beforeResult = action['before']();
1928
+ const beforeResult = this._runBefore(action);
1908
1929
  // 2) If it's async, wait for the `before` method to finish.
1909
1930
  if (beforeResult instanceof Promise) {
1910
1931
  if (mustBeSync) {
@@ -2743,13 +2764,20 @@ export class Store {
2743
2764
  * Pass `{ statusKey }` to abort only the actions with that `statusKey` (see
2744
2765
  * `KissAction.statusKey`): `store.abort(LoadUser, { statusKey: userId })`.
2745
2766
  *
2767
+ * Pass an array of types to abort the actions of all of them. For example, when a screen
2768
+ * closes: `onUnmount: (store) => store.abort([LoadUser, LoadPosts])`. A `statusKey` applies to
2769
+ * all the types in the array.
2770
+ *
2746
2771
  * To abort a single action instance, use its `abort()` method.
2747
2772
  */
2748
2773
  abort(type, options) {
2774
+ const types = _toTypeArray(type);
2749
2775
  const statusKey = options?.statusKey;
2776
+ const name = Array.isArray(type) ? `[${types.map(t => t.name).join(', ')}]` : types[0].name;
2750
2777
  for (const action of this._actionsInProgress) {
2751
- if (action instanceof type && (statusKey === undefined || _isSameNonReentrantKey(action.statusKey, statusKey)))
2752
- action._abort(`The action was aborted by store.abort(${type.name}).`);
2778
+ if (types.some(t => action instanceof t) &&
2779
+ (statusKey === undefined || _isSameNonReentrantKey(action.statusKey, statusKey)))
2780
+ action._abort(`The action was aborted by store.abort(${name}).`);
2753
2781
  }
2754
2782
  }
2755
2783
  /**
@@ -2770,11 +2798,17 @@ export class Store {
2770
2798
  *
2771
2799
  * Pass `{ statusKey }` to consider only the actions with that `statusKey` (see
2772
2800
  * `KissAction.statusKey`): `store.isWaiting(LoadUser, { statusKey: userId })`.
2801
+ *
2802
+ * Pass an array of types to know if an action of ANY of them is being processed:
2803
+ * `store.isWaiting([LoadUser, LoadPosts])`. An empty array returns false. A `statusKey`
2804
+ * applies to all the types in the array.
2773
2805
  */
2774
2806
  isWaiting(type, options) {
2807
+ const types = _toTypeArray(type);
2775
2808
  const statusKey = options?.statusKey;
2776
2809
  for (const action of this._actionsInProgress) {
2777
- if (action instanceof type && (statusKey === undefined || _isSameNonReentrantKey(action.statusKey, statusKey))) {
2810
+ if (types.some(t => action instanceof t) &&
2811
+ (statusKey === undefined || _isSameNonReentrantKey(action.statusKey, statusKey))) {
2778
2812
  return true;
2779
2813
  }
2780
2814
  }
@@ -2789,9 +2823,13 @@ export class Store {
2789
2823
  *
2790
2824
  * Pass `{ statusKey }` to consider only the failures with that `statusKey` (see
2791
2825
  * `KissAction.statusKey`): `store.isFailed(LoadUser, { statusKey: userId })`.
2826
+ *
2827
+ * Pass an array of types to know if ANY of them failed:
2828
+ * `store.isFailed([LoadUser, LoadPosts])`. An empty array returns false. A `statusKey`
2829
+ * applies to all the types in the array.
2792
2830
  */
2793
2831
  isFailed(type, options) {
2794
- return this._findFailure(type, options) !== null;
2832
+ return _toTypeArray(type).some(t => this._findFailure(t, options) !== null);
2795
2833
  }
2796
2834
  /**
2797
2835
  * Returns the `UserException` of the `type` that failed. Returns `null` if it didn't fail,
@@ -2803,8 +2841,20 @@ export class Store {
2803
2841
  * `KissAction.statusKey`): `store.exceptionFor(LoadUser, { statusKey: userId })`. Without it,
2804
2842
  * if actions with different keys failed, you get the `UserException` of the most recent
2805
2843
  * failure.
2844
+ *
2845
+ * Pass an array of types to get the `UserException` of the first type in the array that has
2846
+ * one: `store.exceptionFor([LoadUser, LoadPosts])`. Put the most important type first. An
2847
+ * empty array returns `null`. A `statusKey` applies to all the types in the array.
2806
2848
  */
2807
2849
  exceptionFor(type, options) {
2850
+ if (Array.isArray(type)) {
2851
+ for (const t of type) {
2852
+ const exception = this.exceptionFor(t, options);
2853
+ if (exception !== null)
2854
+ return exception;
2855
+ }
2856
+ return null;
2857
+ }
2808
2858
  const failures = this._failedActions.get(type);
2809
2859
  if (failures === undefined)
2810
2860
  return null;
@@ -2838,12 +2888,19 @@ export class Store {
2838
2888
  * Pass `{ statusKey }` to clear only the failure with that `statusKey` (see
2839
2889
  * `KissAction.statusKey`): `store.clearExceptionFor(LoadUser, { statusKey: userId })`.
2840
2890
  * Without it, all the failures of the type are cleared, whatever their keys.
2891
+ *
2892
+ * Pass an array of types to clear all of them: `store.clearExceptionFor([LoadUser, LoadPosts])`.
2893
+ * The components are updated only once. A `statusKey` applies to all the types in the array.
2841
2894
  */
2842
2895
  clearExceptionFor(type, options) {
2843
2896
  const statusKey = options?.statusKey;
2844
- const removed = (statusKey === undefined)
2845
- ? this._failedActions.delete(type)
2846
- : this._removeFailure(type, statusKey);
2897
+ let removed = false;
2898
+ for (const t of _toTypeArray(type)) {
2899
+ const removedThis = (statusKey === undefined)
2900
+ ? this._failedActions.delete(t)
2901
+ : this._removeFailure(t, statusKey);
2902
+ removed = removedThis || removed;
2903
+ }
2847
2904
  if (removed)
2848
2905
  this._statusListeners.notify();
2849
2906
  }
@@ -2863,35 +2920,44 @@ export class Store {
2863
2920
  this._statusListeners.notify();
2864
2921
  }
2865
2922
  /**
2866
- * Internal: the value `useSuspense` reads as its snapshot, for the given action `type` and
2867
- * `statusKey` (`undefined` matches any key):
2868
- *
2869
- * - A promise, while an action of the type (or of a subclass) with that key is in progress,
2870
- * as `isWaiting` sees it. The same promise object is returned until the action finishes, as
2871
- * React's Suspense needs, and it resolves then (see `_resolveSuspenseWaits`). The promise
2872
- * is created the first time it's asked for, so a store whose components never call
2923
+ * Internal: the value `useSuspense` reads as its snapshot, for the given action `type` (or
2924
+ * array of types) and `statusKey` (`undefined` matches any key):
2925
+ *
2926
+ * - A promise, while an action of the type (or of a subclass), or of any of the types in the
2927
+ * array, with that key is in progress, as `isWaiting` sees it. The same promise object is
2928
+ * returned until no such action is in progress, as React's Suspense needs, and it resolves
2929
+ * then (see `_resolveSuspenseWaits`). Arrays are compared by their content, so an array
2930
+ * written inline in the component gets the same promise on every render. The promise is
2931
+ * created the first time it's asked for, so a store whose components never call
2873
2932
  * `useSuspense` creates none.
2874
2933
  * - Otherwise, when `throwErrors` is true, the failure record of the type with that key, as
2875
- * `isFailed` sees it (the exact type; without a key, the most recent failure). It's the
2876
- * same object until the failure is replaced or cleared.
2934
+ * `isFailed` sees it (the exact type; without a key, the most recent failure). With an
2935
+ * array, the failure of the first type in the array that failed. It's the same object until
2936
+ * the failure is replaced or cleared.
2877
2937
  * - Otherwise `null`.
2878
2938
  *
2879
2939
  * @internal
2880
2940
  */
2881
2941
  _suspenseValue(type, statusKey, throwErrors = true) {
2882
- if (this.isWaiting(type, { statusKey })) {
2883
- let wait = this._suspenseWaits.find(w => w.type === type && _isSameNonReentrantKey(w.statusKey, statusKey));
2942
+ const types = _toTypeArray(type);
2943
+ if (this.isWaiting(types, { statusKey })) {
2944
+ let wait = this._suspenseWaits.find(w => _isSameTypeArray(w.types, types) && _isSameNonReentrantKey(w.statusKey, statusKey));
2884
2945
  if (wait === undefined) {
2885
2946
  let resolve;
2886
2947
  const promise = new Promise(r => resolve = r);
2887
- wait = { type, statusKey, promise, resolve };
2948
+ wait = { types: [...types], statusKey, promise, resolve };
2888
2949
  this._suspenseWaits.push(wait);
2889
2950
  }
2890
2951
  return wait.promise;
2891
2952
  }
2892
2953
  if (!throwErrors)
2893
2954
  return null;
2894
- return this._findFailure(type, { statusKey });
2955
+ for (const t of types) {
2956
+ const failure = this._findFailure(t, { statusKey });
2957
+ if (failure !== null)
2958
+ return failure;
2959
+ }
2960
+ return null;
2895
2961
  }
2896
2962
  /**
2897
2963
  * Resolves and removes the `useSuspense` promises whose action is not in progress anymore.
@@ -2902,7 +2968,7 @@ export class Store {
2902
2968
  return;
2903
2969
  for (let i = this._suspenseWaits.length - 1; i >= 0; i--) {
2904
2970
  const wait = this._suspenseWaits[i];
2905
- if (!this.isWaiting(wait.type, { statusKey: wait.statusKey })) {
2971
+ if (!this.isWaiting(wait.types, { statusKey: wait.statusKey })) {
2906
2972
  this._suspenseWaits.splice(i, 1);
2907
2973
  wait.resolve();
2908
2974
  }
@@ -3460,7 +3526,7 @@ export class Store {
3460
3526
  * don't dispose the store while you still wait for it.
3461
3527
  * 3. Pauses the persistor, and cancels its pending save (a state change waiting for the
3462
3528
  * throttle). A save that is already running still finishes. If you want the current state
3463
- * saved first, call `await store.persistAndPause()` before.
3529
+ * saved first, call `await store.persistAndPausePersistor()` before.
3464
3530
  * 4. Stops listening to the focus and online sources (see `focusSource` and `onlineSource`
3465
3531
  * in the constructor), if they were started. `isFocused` and `isOnline` keep their last
3466
3532
  * values.
@@ -4414,6 +4480,14 @@ class PrintableSet extends Set {
4414
4480
  * days), by chaining timers. A delay of `Infinity` never fires. Returns a function that cancels
4415
4481
  * the timeout.
4416
4482
  */
4483
+ /** Returns the given action type as an array with one type, or the given array of types. */
4484
+ function _toTypeArray(type) {
4485
+ return Array.isArray(type) ? type : [type];
4486
+ }
4487
+ /** True if both arrays have the same action types, in the same order. */
4488
+ function _isSameTypeArray(a, b) {
4489
+ return a.length === b.length && a.every((type, i) => type === b[i]);
4490
+ }
4417
4491
  function _setLongTimeout(callback, millis) {
4418
4492
  if (millis === Infinity)
4419
4493
  return () => { };