Closed s-uds closed 4 years ago
ngc
NodeJS Version: 13.1.0 Typescript Version: 3.4.5 Angular Version: 8.2.8 @angular-redux/store version: 10.0.0 @angular/cli version: 8.3.6 OS: macOS Mojave
Hi,
I noticed that dispatch() checks if in the Angular zone or not and always calls ngZone.run if not (source: https://github.com/angular-redux/store/blob/master/src/components/root-store.ts#L83).
However, I wish to dispatch an action from a zone.runOutsideAngular() statement (much like described here: https://github.com/ngxs/store/issues/487)
Is there any known workaround for this? Could it be featured as an additional option (like: https://github.com/ngxs/store/issues/487#issuecomment-453637688)
Thanks a lot!
Realizing this repository is deprecated, I duplicated the issue to the appropriate repo.
This is a...
What toolchain are you using for transpilation/bundling?
ngc
Environment
NodeJS Version: 13.1.0 Typescript Version: 3.4.5 Angular Version: 8.2.8 @angular-redux/store version: 10.0.0 @angular/cli version: 8.3.6 OS: macOS Mojave
Expected Behaviour:
Hi,
I noticed that dispatch() checks if in the Angular zone or not and always calls ngZone.run if not (source: https://github.com/angular-redux/store/blob/master/src/components/root-store.ts#L83).
However, I wish to dispatch an action from a zone.runOutsideAngular() statement (much like described here: https://github.com/ngxs/store/issues/487)
Is there any known workaround for this? Could it be featured as an additional option (like: https://github.com/ngxs/store/issues/487#issuecomment-453637688)
Thanks a lot!