software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
9.1k stars 1.32k forks source link

fix: Animation assignment with compiler-safe API #6715

Closed tjzel closed 6 days ago

tjzel commented 1 week ago

Summary

When I added compiler-safe API for shared values, I accidentally forgot that animations exist and that their assignment to shared values has to be handled separately.

Fixes

Test plan

Added relevant runtime test suite and adjusted some others.