software-mansion / react-native-reanimated

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

Fix configuring unconfigurable properties #6098

Closed tjzel closed 3 weeks ago

tjzel commented 3 weeks ago

Summary

Fixes #6066. When implementing more meaningful way of shareable freezing I overlooked the case when some properties would be unconfigurable. This PR fixes this.

Test plan

New button in ShareableFreezing example checks that it doesn't throw anymore.