~/talk

Sasqwatch is Real

Talkat ng-conf 2015 · 2015-03-05..03-06· [angular]
links:none on file
slides:none on file

Claims that hidden Angular watchers called Sasqwatches cause jank and shows concrete measurements using ng-stats (Kent C. Dodds) to count watchers and $digest times. An audit of sample markup finds 24 Sasqwatches where developers guessed 20; Angular adds two default watchers (scroll, location). Swapping ng-show for ng-if drops watchers (8 → 5), manually unregistering watches drops counts (4 → 3), and a 1 ms filter delay explodes digest time. Recommends one-time bindings, ngModelOptions debouncing, and custom event directives instead of always using $apply.

AI-written summary · about

  1. 0:00Navy to Senior Engineer
  2. 1:27Sasqwatches in Angular
  3. 3:12Digest cycle hurts performance
  4. 5:18What are Sasqwatches
  5. 6:20Hidden watchers in an app
  6. 9:07Ng-show/ng-hide watcher traps
  7. 11:34Ng-mouseenter digest waste
  8. 13:40Remove unnecessary watchers
  9. 15:07Filters & ng-repeat killers
  10. 16:32Building smooth Angular apps
  11. 18:17Avoid Angular directives
~/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.