title: React Native - Difference between onChangeText and onSubmitEditing?
body: <p>From the Facebook React Native Text Input documentation, I was able to discern that this is what happens when <code>onSubmitEditing</code> is used:</p>
  
  <blockquote>
    <p>Callback that is called when the text input's submit button is pressed.</p>
  </blockquote>
  
  <p>However, there wasn't anything for <code>onChangeText</code>. I'm assuming if the text has changed, then it will trigger.</p>
  
  <p>Why would I want to use one other than the other? For example if I'm making something that takes in text for the <code>TextInput</code> field, wouldn't I just want to use <code>onChangeText</code>? In some examples I've seen them use <code>onSubmitEditing</code> and I'm confused on why you would use one over the other. This question is different than wondering how to make the submit button - I'm asking why I would use <code>onChangeText</code> vs. <code>onSubmitEditing</code>.</p>