oblador / react-native-collapsible

Animated collapsible component for React Native, good for accordions, toggles etc
MIT License
2.43k stars 453 forks source link

Fix getNode warning #346

Closed marcorm closed 4 years ago

marcorm commented 4 years ago

This PR gets rid of RN 0.62.0 new warning:

Calling getNode() on the ref of an Animated component
is no longer necessary. You can now directly use the ref
instead. This method will be removed in a future release.

I tried to make changes in the safest way, so that it will work with older RN versions, too.

oblador commented 4 years ago

Superseded by #349