stream-chat-react-native
stream-chat-react-native copied to clipboard
Migrate TouchableOpacity and other related touchable components to Pressable
We use TouchableOpacity
in most places. Ideally, this is not a good user experience for Android users. Therefore, we should plan to migrate the current Touchables into Pressable API which was released by React Native. The second option could be conditionally handling the case for Android and iOS. Something like:
const Touchable = Platform.OS === "android" ? TouchableNativeFeedback : TouchableOpacity
gz#21875