mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1// Be warned. This Hook is very buggy unless used in a very constrained way.
2// To use it safely:
3//
4// - DO NOT pass its return value as a prop to any user-defined component.
5// - DO NOT pass its return value to more than a single component.
6//
7// In other words, the only safe way to use it is next to the leaf Reanimated View.
8//
9// Relevant bug reports:
10// - https://github.com/software-mansion/react-native-reanimated/issues/5345
11// - https://github.com/software-mansion/react-native-reanimated/issues/5360
12// - https://github.com/software-mansion/react-native-reanimated/issues/5364
13//
14// It's great when it works though.
15export {useAnimatedScrollHandler} from 'react-native-reanimated'