diff --git a/src/Updux.ts b/src/Updux.ts index 170a7af..aaa2714 100644 --- a/src/Updux.ts +++ b/src/Updux.ts @@ -256,6 +256,7 @@ export class Updux< addEffect(action, effect) { this.#effects = [...this.#effects, [action, effect]]; + return effect; } splatSubscriber(store, inner, splatReaction) {