The performance edit: part 1 rileyjshaw/font-comparison-tool

  • Memoize the FontContainer component, and its callbacks
  • Update size and alignment with CSS variables, not props

It’s scrolling way better now, and changing font size with Google Fonts
over no-longer causes an explosion.

Next up: react-window, keep the @font-face declarations to woff2? only