React Native & Expo (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are `Pressable`, `TouchableOpacity`, and `TouchableHighlight`?
junior Levelreact-nativeBasic
In Simple Words: Components for handling user touch interactions:
TouchableOpacity(Legacy): Diminishes view opacity on press.TouchableHighlight(Legacy): Darkens the background on press.Pressable(Modern Standard): Core component that exposes multi-stage interaction states:pressed,hovered, andfocused. Supports hit slop expansions and native ripple effects.