~/talk

Supporting an Old-Fashioned AngularJS App in a Modern TypeScript World

Talkat RVA JavaScript Conf 2019 · on Friday, 2019-11-15· [angular, typescript]
slides:none on file

Shows how to modernize a legacy AngularJS app by incrementally renaming .js to .ts, adding TypeScript + RxJS for type safety and reactive forms, and introducing a webpack build + HTML plugin or grunt/gulp tasks to compile and inject bundles. Includes a working example repo that fetches from the Drag Race API, uses class-based components, an angular1-async-filter async pipe to auto-unsubscribe, and demonstrates Angular Elements/web components for new features.

AI-written summary · about

  1. 0:00Intro
  2. 1:20Supporting Angularjs Applications
  3. 4:38Roadmap
  4. 6:25Angularjs Style Guide
  5. 7:48Single Responsibility
  6. 8:57Build System
  7. 9:33Grunt
  8. 10:49gulp
  9. 11:36webpack
  10. 13:41compiled files
  11. 14:48converting to typescript
  12. 15:36types
  13. 16:39classes
  14. 18:04member shorthand
  15. 18:43interface shorthand
  16. 20:03generics
  17. 21:19template literals
  18. 22:00fat arrow functions
  19. 22:52Angularjs app conversion
  20. 26:36Typescript declaration
  21. 27:49Example setup
  22. 28:27Controller as syntax
  23. 29:19Summary
  24. 29:57Example Module
  25. 30:43ClassBased Approach
  26. 31:14Component Controllers
  27. 31:51OnInit
  28. 32:53Component
  29. 33:40RVAJS
  30. 34:43Imperative Programming
  31. 36:03Observables
  32. 37:24Subjects
  33. 37:50Operators
  34. 38:35Async Pipe
  35. 39:24Async Filter
  36. 40:08Web Components
  37. 40:52Angular Elements
  38. 41:18Modern Tools
  39. 41:44Key Concepts
~/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.