~/talk

Custom RxJS Operators are Standing By! Act Now!

Talkat ng-conf 2023 · 2023-06-14..06-15· [angular, reactive-programming]
slides:none on file

Shows how to build custom RxJS operators by composing existing RxJS primitives with the pipe function and tests each operator in isolation including marble timing tests; refactors an autocomplete observable into named operators limitResults filterExistingTeamMembers and throttleInput; builds a Pokemon team autocomplete demo (poketeambuilder.pirko.dev) and replaces five-plus operator chains with single calls so the component shrinks and unit tests verify behavior end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:24Need custom RxJS operators
  3. 2:26RxJS operators under the hood
  4. 3:51Building with existing operators
  5. 5:16Testing custom operators
  6. 6:19Demo app overview
  7. 7:44Refactoring autocomplete
  8. 8:26Creating limitResults
  9. 9:31Creating filterExistingTeamMembers
  10. 11:15Creating throttleInput
  11. 13:01Testing debounce with marble diagrams
  12. 14:44Refactored component benefits
  13. 15:05Resources and closing
~/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.