Replies: 1 comment
-
i think it depends on the component, TouchableOpacity and TouchableWithoutFeedback are fine, i don't see why we should use Pressable so if the design says that on press we should change opacity, use TouchableOpacity then, if the design says touchable has no visual feedback use TouchableWithoutFeedback, so i don't see the problem here really , these two fit our needs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, we are not being consistent in our usage of the pressable components. We are using are a mix of
TouchableOpacity
andTouchableWithoutFeedback
. Also, there is a newer pressable component calledPressable
- from RN docs "If you're looking for a more extensive and future-proof way to handle touch-based input, check out the Pressable API."So shouldn't we migrate the pressable components to that new component?
cc @flexsurfer
Beta Was this translation helpful? Give feedback.
All reactions