Skip to main content
Logo Appt Light

Input predictable on React Native

Whenever a user provides input, there should be no change of context. Example of changing context include, but are not limited to: automatically submitting data, opening a new screen or moving to another element. Input should have predictable effects.

In React Native, be careful when using onChange or onChangeText callbacks. Do not trigger a change of context when text changes.

  onChangeText={ /* Do not change context */ }


Let us know!