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

Progressive State Management with NGXS

Progressive State Management with NGXS

Progressive State Management with NGXS that was delivered at:

✅ 11 Nov 2020 - Angular Leipzig ✅ 17 Oct 2020 - GDG Perth ✅ 15 Sept 2020 - ngHeidelberg ✅ 31 Aug 2020 - Adventures in Angular ✅ 25 Aug 2020 - Angular Oslo ✅ 6 Aug 2020 - Angular Air ✅ July 25 2020 - Angular NL ✅ June 30 2020 - Angular NYC

Progressive State Management is a technique that allows to progressively enhance the functionality of the application state in a way that won't affect the existing application data flow.

This talk is about how to manage state of your Angular apps progressively starting by using Reactive Services approach and then switching to NGXS if you decide to power up the functionality of your app state with sophisticated state management solution and plugins

Demo: https://github.com/kuncevic/progressive-state-management-with-ngxs
Video: https://youtu.be/mY9rlno7_uc
Podcast: https://devchat.tv/adv-in-angular/aia-298-progressive-state-management-with-ngxs-with-aliaksei-kuncevic

Rx Service
https://github.com/kuncevic/rx-service

NGXS:
https://ngxs.io
https://ngxs.io/plugins
https://ngxs.io/ngxs-labs
https://tinyurl.com/ngxs-slack

Other:
The Power of NGXS Selectors https://youtu.be/y3F99IsnNvI by Mateus Carniatto at Angular Air
NGXS and NGXS Data https://youtu.be/BtVHm0FJIRA?t=114 by Max Ivanov at Angular Minsk

Aliaksei Kuncevič

September 15, 2020
Tweet

More Decks by Aliaksei Kuncevič

Other Decks in Programming

Transcript

  1. kuncevic.dev @kuncevic CREATOR 💡 Aurelia vs React vs Vue vs

    Svelte vs Ember vs Elm vs Angular frontendwatch.com
  2. kuncevic.dev TOC ✅ Progressive state management ✅ Common problem with

    SPA's ✅ Reactive services ✅ Benefits of state management ✅ From reactive services to NGXS
  3. kuncevic.dev ✅ Simplify component communication ✅ Predictable data flow ✅

    Easy testing/easy debugging ✅ Consistent practices across the teams Benefits of state management 👍
  4. kuncevic.dev NGXS Features 💡 ✅ Simple ✅ Less Boilerplate ✅

    Dependency Injection ✅ Decorators ✅ Action Life Cycles ✅ Promises ✅ Community
  5. kuncevic.dev NGXS Plugins 🧱 ✅ Logger ✅ Storage ✅ Web

    Socket ✅ Devtools ✅ Forms ✅ Router
  6. kuncevic.dev NGXS Labs 🧰 ✅ Data ✅ Emitter ✅ Immer

    adapter ✅ Dispatch decorator ✅ Select snapshot ✅ Async storage ✅ Entity state ✅ Actions executing ✅ Attach action ✅ Firestore
  7. kuncevic.dev Links Code and video github.com/kuncevic/progressive-state-manag ement-with-ngxs youtu.be/mY9rlno7_uc github.com/kuncevic/rx-service NGXS

    ngxs.io tinyurl.com/ngxs-slack ngxs.io/plugins ngxs.io/ngxs-labs Other youtu.be/y3F99IsnNvI (The Power of NGXS Selectors, by Mateus Carniatto) youtu.be/BtVHm0FJIRA?t=114 (NGXS and NGXS Data, Max Ivanov)