~/talk

5 Tips to Improve User Experience with NgRx

Talkat NG-MY 2019 · 2019-07-06..07-07· [angular, frontend-architecture]
slides:none on file

NgRx code shows three practical UX fixes: use effects with concatMap and catchError before flattening so streams don’t stop and implement the error handling pattern of trigger/success/fail actions to avoid infinite spinners; treat the store (and ngrx entity adapter) as a local cache plus a meta-reducer that syncs to localStorage to load data instantly; apply optimistic updates by applying the change on the trigger action and rolling back on the error action. Rails guidance: aim for <5s on mid‑range 3G and <2s for fast loads; users overestimate passive waits by ~36%.

AI-written summary · about

  1. 0:00Introduction and background
  2. 9:16NgRx use cases for UX
  3. 13:01Error handling techniques
  4. 19:53Caching with NgRx store
  5. 27:24Local storage for offline UX
  6. 29:11Optimistic UI approach
  7. 33:03Summary and key takeaways
~/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.