~/talk

How to use Functional Programming with Angular and why it’s a good idea

Talkat Ng-Poland 2017 · on Tuesday, 2017-11-21· [angular]
slides:none on file

Shows concrete code: replaces imperative loops with a single-line Array.filter/map chain, composes click streams with RxJS operators like mergeMap/switchMap to squash observables, and centralizes state into one observable so UI bindings use the async pipe. Demonstrates switching to OnPush change detection plus immutability to avoid full tree checks, mentions Immutable.js and Redux as practical tools, and claims these changes reduce mutations, make components predictable, and improve performance with real code examples.

AI-written summary · about

  1. 0:00Introduction
  2. 3:19Example 1 Fetching data from a list
  3. 4:53Why I dont like this code
  4. 5:45Single line function
  5. 7:03Higherorder functions
  6. 9:08Fetching data
  7. 11:25Button Streams
  8. 13:04Pure Functions
  9. 17:12How Change Detection works
  10. 18:29How could Change Detection work
  11. 19:54Change Detection Strategy
  12. 21:58Immutability
  13. 24:57Redux
  14. 26:27Takeaways
~/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.