As you can see error shown is from a previous version of the code.
Is there a way to force update without reloading the page?
Try onChangeText={inputValue => {this.setState(inputValue)}}
- I believe it may not be updating because the code you provided has an error.
Please look at the code ABOVE the error message (line 19 with a red x)
I did Phim, the code above is also broken. Just trying to help.