Skip to content

$applyAsync at digestMiddleware #51

@artaommahe

Description

@artaommahe

Maybe instead of

if(!$rootScope.$$phase) {
  $rootScope.$apply(next(action));
} else {
  next(action);
}

https://github.com/wbuchwalter/ng-redux/blob/master/src/components/digestMiddleware.js#L3

just

$rootScope.$applyAsync(next(action));

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions