~/talk

Using TypeScript with Redux Architecture

Talkat Nordic.js 2018 · on Sunday, 2018-10-07· [typescript, reactive-programming]
slides:none on file

Shows concrete, testable claims: TypeScript plus rxjs and NgRx produce a predictable Redux-style store with real CLI commands and generated NgRx schematics that yield action/effect/reducer skeletons. Demonstrates discriminated-union actions, exhaustive never checks, operator choices like concatMap vs switchMap and startWith, and the entity adapter for efficient collections. The demo wires selectors into Angular with the async pipe and the generated app connects to Redux devtools and time-travel debugging, proving the approach scales for large apps.

AI-written summary · about

  1. 0:00Start
  2. 6:22NgRx Boilerplate
  3. 7:10Scaffolding
  4. 8:52String Enum Action Types
  5. 9:32Object Properties as Action Types
  6. 9:50Asynchronous Action Creator Classes
  7. 10:42Discriminated Unions
  8. 12:14Type Guards
  9. 12:42Exhaustive Checks
  10. 17:00Effects for Fetching Data
  11. 17:31Podcast Reducer
  12. 17:57Action Reducer Map
  13. 19:27Entity pattern for shallow data structures
  14. 19:55LoadPodcasts - Loading State
  15. 20:06LoadPodcasts Failure - Error State
  16. 21:13@ngrx/entity - Entity State adapter for collections
  17. 22:04Angrx/entity - Entity Adapter methods
  18. 23:14Dependent Asynchronous Effects
  19. 23:44concatMap vs switch Map
  20. 25:46Entities Selector
  21. 26:34Smart Container Components
  22. 28:39Redux DevTools
~/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.