~/talk

The Hitchhiker' s Guide To NGRX

Talkat Angularday 2023 · on Friday, 2023-11-24· [angular, frontend-architecture]
slides:none on file

NGRX is presented as a Redux+RxJS state architecture with concrete recipes: use provideStore/provideState, createAction/createReducer/createSelector, and createEffect for async flows. Live examples show how mergeMap/concatMap/switchMap/exhaustMap change delete-request behavior, how effects cancel previous requests with switchMap, how a one-line auto-dismiss toaster via delay -> dismiss action works, using multiple emissions to drive a spinner, employing Immer produce for immutable updates, and saving files via the FS API — all demonstrated as working patterns.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49What is NGRX and why use it
  3. 2:14Installing and configuring NGRX
  4. 3:16NGRX store and selectors
  5. 4:26Understanding NGRX actions
  6. 7:15Reducers and state mutation
  7. 9:24Efficient NGRX selectors
  8. 12:26Async operations with effects
  9. 17:53Five NGRX tips
  10. 23:56RxJS in effects and selectors
  11. 28:20Multiple values in effects
  12. 31:12Advanced effect patterns
  13. 34:30Closing and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.