react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

fix: Proper support for nested `animatedProps` objects and correct cleanup

Open MatiPl01 opened this issue 3 weeks ago • 0 comments

Summary

This PR adds correct type for the animatedProps prop that doesn't include any layout animation-related props, allows nested arrays with mixed CSS and animated props objects. It also fixes the issue whit props cleanup that didn't work before (see packages/react-native-reanimated/src/createAnimatedComponent/AnimatedComponent.tsx - the array of animated props was not detached from the view).

It also adds a few typetests and jest unit tests that ensure the new behavior is correct.

MatiPl01 avatar Dec 10 '25 00:12 MatiPl01