- What's the main difference between user interactions with web applications and native mobile applications?
- There is no noticeable difference between user interactions in web and mobile apps.
- Mobile applications are inherently faster than their web equivalents, so you code needs to take this into consideration.
- There is no mouse. Instead, the user interacts with your UI using their fingers. This is a fundamentally different experience than using a mouse and needs to be accommodated.
- How do you provide the user with touch feedback in React Native?
- By passing View components the feedback property.
- By wrapping touchable components with the TouchableOpacity or TouchableHighlight component.
- You have to manually adjust the styles of the view in an onPress handler.
- What makes scrolling in mobile apps so much more complex than web app scrolling?
- Scrolling in mobile web apps needs to take into consideration things like velocity because the user is interacting with their fingers. Otherwise, the interactions feel unnatural.
- There is no real difference in complexity.
- It's only complex if you make it that way. Touch interactions can be implemented to behave the exact same as mouse interactions.
- Why would you use the ScrollView component to implement swipeable behavior?
- Because this is what users are used to in web applications.
- Because this is what users are used to in mobile web applications and how they learn the controls of the UI.
- You shouldn't implement swipeable behavior.