~/talk

Architecting Angular apps with Signals with Alain Chautard (Pt 2)

Talkat Frontend Nation 2024 · 2024-06-04..06-07· [angular]
slides:none on file

Practical walkthrough that implements currency switching and exchange-rate conversion with an Angular service that uses a signal for current currency, an HTTP observable converted via toSignal (with a default of all rates = 1) and a computed signal that returns {currency, exchangeRate}. Uses TypeScript generics and Record<Currency, number> for type safety, exposes a read-only getter and a public setter, converts presentation components to accept signal inputs, and applies currency pipe + rate multiplication; prices update immediately in the demo and the solution works end-to-end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Currency signal in CurrencyService
  3. 4:04Securing signal access
  4. 8:00CurrencyService with exchange rates
  5. 11:53Debugging currency updates
  6. 19:20Combining signals with computed
  7. 27:19LicensePlateComponent to signals
  8. 33:25Signal-based components
  9. 36:17Key Angular Signals features
  10. 37:07Q&A
~/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.