The second commit removes the clear() method of TextInput since it is not used and is broken anyway (no ref is set to the node + this.input is used instead of this.refInput.current).
clear()
TextInput
ref
this.input
this.refInput.current