Why does React Native provide TouchableHighlight and TouchableOpacity instead of a more generic styled Touchable?

56 views Asked by At

I'm new to React Native and I struggle to understand this design decision. Why do we have separate components to handle these trivial styling changes? Do they somehow behave differently than TouchableWithoutFeedback that we'd apply opacity to either entire element or do the trick to apply opacity to the underlying View?

Why do TouchableHighlight and TouchableOpacity exist?

0

There are 0 answers