Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Successful with Signals: 3 Effective Rules

Successful with Signals: 3 Effective Rules

Manfred Steyer

June 18, 2024
Tweet

More Decks by Manfred Steyer

Other Decks in Programming

Transcript

  1. About me… Manfred Steyer, ANGULARarchitects.io (Remote) Angular Workshops and Consulting

    Google Developer Expert for Angular Blog, Books, Articles, and Talks about Angular Manfred Steyer
  2. More: Angular Architecture Workshop • Maintainable Architectures with Modern Angular

    • Strategic Design with Nx & Sheriff • Micro Frontends with Module Federation • Signals and Your Architecture: CD & Zone-less, NGRX & Signal Store, RxJS-Interop German Version in June: Online & Interactive angulararchitects.io/workshop-de
  3. Conclusion Architecture Rule #1 Synchronously derive state where possible Architecture

    Rule #2 Avoid effects propagating state and signal writes Architecture Rule #3 Stores make your reactive flow more manageable Component Store
  4. Conclusion Hint #1 Signals play well together with RxJS Hint

    #2 Avoid Race Conditions (e.g. RxJS and/or loading flag)