Skip to content
0:00 / 0:00

#angular#ngrx#redux

Good Action Hygiene with NgRx Mike Ryan

AI Dev Craft

64K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • Presented by Mike Ryan, co-creator of NgRx
  • May be out of date. Uploaded 8 years ago, in an area where tools change fast.
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

52K views8 years ago1 recommendation

Web developmentSoftware designVue, Svelte, Angular and othersDesign patterns

Mike Ryan explains how to write, structure, and design actions in NgRx to build maintainable Angular applications.

ng-conf is a two day, single track conference focused on delivering the highest quality training in the Angular JavaScript framework. 1500+ developers from across the country will converge on beautiful Salt Lake City, UT to participate in training sessions by the Google Angular team, and other Angular experts. In addition to the invaluable training, ng-conf will deliver a premier conference experience for attendees, providing opportunities to network with other developers, relax at social events, and engage in some of the unique entertainment opportunities available in Utah.

Why it's here

1 person recommends this

What people say. Recommended as a key resource for understanding NgRx action design and best practices.

E. Efimovon Stack Overflow • Recommends

Can effect wait two actions like Promise.all? Example: @Effect() pulic addUser() { return this.actions$.ofType(user.ADD) .switchMap(() => { return this.userService.add(); }) .map(() => { return new user.AddSuccessAction(); }); } @Effect() pulic addUserOptions() { return this.actions$.ofType(userOptions.ADD) .switchMap(() => { return this.userOptionsService.add(); }) .map(() => { return new userOptions.AddSuccessAction(); }); } @Effect() public complete() { return this.actions$.ofType(user.ADD_SUCCESS, userOptions.ADD_SUCCESS) // how to make it works like Promise.all ? .switchMap(() => { return this.statisticService.add(); }) .map(() => { return new account.CompleteA…