Explore Library
Quiz

UI Thread Animations in Reanimated

Understanding how Reanimated worklets execute animations on the UI thread for smooth performance.

In Reanimated 2/3, you have a gesture handler that updates a shared value on every frame. Why does reading a regular JS variable (not a shared value) inside a worklet often give a stale or unexpected value?