useAnimatedText | Events vs. State Changes | Catalyst

October 24th, 2024//Ep. 198

Sam and Ryan talk about building a useAnimatedText hook that can animate streaming text. They also discuss how React code that uses state changes to approximate events can be simplified, and the benefits of having escape hatches when building UI with Catalyst.

Timestamps

  • Intro
  • Catalyst and escape hatches
  • Building a useAnimatedText hook (aka useBufferedText)
  • Avoiding using state changes to approximate events