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

Webinar: NgRx Signals: Entitäten Management und...

Webinar: NgRx Signals: Entitäten Management und Custom Features

In dieser Fortsetzung der NgRx Signals Webinar Serie, sehen wir uns an, was das Signals Paket mitbringt um eine oder mehrere Collections an Entitäten zu verwalten. Wir werden auch ein Signal Store Feature implementieren, welches sich in mehreren Stores wiederverwenden lässt.

Yannick Baron

July 10, 2024
Tweet

More Decks by Yannick Baron

Other Decks in Technology

Transcript

  1. Why @ngrx/signals? signal based state management on component level conveniently

    handle multiple signals brings rxjs interop to manage user interaction gracefully brings entity management out of the box extensible API through store features functional principles
  2. @ngrx/signals: Whats in it? signalState small scale simple state management

    signalStore elaborate state management including logic patchState method to transition between states rxMethod RxJS based callable methods (ComponentStore effects) store features extend the base store with recurring features
  3. Entity management withEntities: manage collection of entities manipulation of collections

    always similar in implementation add one, add many, update, remove, ...
  4. Custom store features build your own reusable feature loading/error state,

    sorting, logging, ... can be used to keep stores smaller stores can also be split