~/talk

Delighting Users With Performant Apps

Talkat CityJS London 2023 · 2023-04-21..04-23· [web-performance, web-platform]
slides:none on file

Rebuild of Apple Music on the web demonstrates concrete fixes: box-shadow animations cause 60 repaints and CPU spikes so they replace shadows with a pseudo-element + 3D transform to get hardware acceleration and no repainting; layout transitions use FLIP math or GreenSock’s flip so DOM changes animate reliably; image palettes use ColorThief run in a web worker color analysis off the main thread and animate gradients on canvas. The app ends up smooth and battery-friendlier.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 0:47Why build performant apps
  3. 2:12Performance is not your problem
  4. 3:40Challenges of UI performance
  5. 5:03Rebuilding Apple Music with web tech
  6. 6:48Avoiding box shadows for performance
  7. 11:26Replacing shadows with pseudo elements
  8. 13:56CSS triggers and repaint costs
  9. 14:18Handling dynamic animations with FLIP
  10. 18:52Reactive backgrounds with web workers
  11. 23:11Live demo of the rebuilt app
  12. 24:46Conclusion and takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.