axelra-ag / react-native-animateable-text

🆎 A fork of React Native's <Text/> component that supports Animated Values!
https://www.npmjs.com/package/react-native-animateable-text
MIT License
360 stars 27 forks source link

fix: removing touchableGetInitialState to fix rn 0.74 issue on ios #48

Closed mzaien closed 4 months ago

mzaien commented 4 months ago

Following the discussion in GitHub issue #46 (specifically, comment #2073170951 ), this pull request proposes the removal of the touchableGetInitialState method. While it's uncertain if this is the optimal solution for the issue raised in React 0.74, but I hope this pr to be somewhat helpful

I tired to test the code but got couple of errors locally 😓 , but at least I made sure types are correct XD

One important note, this issue is also related to RN 0.74

JonnyBurger commented 4 months ago

Thanks! Released 0.12.0