Advanced NgRx: Complex Angular State Management - JavaScript Marathon

preview_player
Показать описание
State management libraries like NgRx can be simple to learn but difficult to master. Managed correctly, NgRx can be a powerful tool for isolating complexity and separating concerns, greatly speeding up development and reducing errors.
However, when applied incorrectly, NgRx can overwhelm your team and actually improve errors. Luckily, there are a handful of tips that can help you and your team reach state management bliss.

In this training, we’ll discuss event-based actions, event storming, how to write more resilient effects, how to determine what data belongs in your store, how to build more maintainable selectors and components, and how to know early when your team is heading down the wrong path.

NOTE: This training expects that attendees already know the basics of the NgRx architecture (selectors, reducers, actions, and effects).

Session links:

If you enjoyed these trainings, let us know! We'd love to teach you more. This Dot Labs is now offering virtual corporate trainings!

Рекомендации по теме
Комментарии
Автор

This must be the best NgRx tutorial based on real life experience available anywhere on the Net.

miroslavjakovcic
Автор

Putting everything in the store worked great for me so far. Usually everything is serializable, with very few exceptions that I leave in components or services.

gzoechi
Автор

This is pure Gold! thank you very much, this was very helpful for me

sickboy
Автор

Amazing, thanks so much for this training!

thiago
Автор

Have to admit I put everything in the store :)

LarsRyeJeppesen
Автор

Maybe I'm getting something wrong but at 57:48 you suggest to trigger an "effect completed" action that would trigger another effect. Isn't that an "effect domino" described previously?

florafilip
Автор

I used a selector from the ngrx/router-store to have an effect based on a routeParam, would that be a valid use-case to trigger an effect based on a selector?

jasperdejager
join shbcf.ru