~/talk

Level up your NgRx game

Talkat AngularDay 2019 · 2019-06-13..06-14· [angular]
slides:none on file

Shows concrete commands and code patterns that actually reduce boilerplate and improve performance: sets up ngrx schematics as the default collection and scaffolds a reactive feature with three commands, applies entity adapter CRUD methods and default selectors to replace spread-hell, demonstrates using Immer produce to simplify reducers, uses memoized selectors for expensive calculations and view-model composition, configures optimistic updates via ngrx-data (optimistic deletes, pessimistic add/update by default) and enables v8 runtime checks and createEffect for type-safe effects.

AI-written summary · about

  1. 0:00Intro
  2. 1:17NGRX PLATFORM
  3. 2:52MAINTAIN A GOOD ACTION HYGIENE
  4. 3:41AVOID GENERIC ACTION TYPES
  5. 5:29USE NGRX SCHEMATICS
  6. 6:00DEFAULT COLLECTION
  7. 6:42STYLE GUIDE
  8. 7:38USE SELECTORS
  9. 11:09STATE SLICE
  10. 11:52COMPOSING SELECTORS
  11. 12:42SELECTOR TAKEAWAYS
  12. 13:06SERIALIZATION & HYDRATION
  13. 13:25SERIALISATION
  14. 14:03RUNTIME CHECKS
  15. 14:40CLIENT STORAGE & HYDRATION
  16. 15:05ADJUST VIEWS
  17. 15:43CHANGE DETECTION
  18. 18:42ENTITY STATE
  19. 19:37ENTITY ADAPTER
  20. 20:07COLLECTION METHODS
  21. 20:35DEFAULT SELECTORS
  22. 21:00YOU MAY NEVER FACE BOILERPLATE ISSUE W @NGRX/DATA
  23. 23:27OPTIMISTIC UPDATES WITH ONGRX/DATA
  24. 24:10OPTIMISTIC UPDATES WITH NX
  25. 25:22LOOKING AHEAD
  26. 25:33FACADES
  27. 27:25ACTION CREATORS
  28. 28:44REDUCER CREATORS
  29. 29:32EFFECT CREATORS
  30. 29:56MAIN TAKEAWAYS
  31. 30:32RESOURCES
~/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.