In that React project I had to add a keyboard to the screen, and the input text bar was always one character behind, no matter what I did to get the app to re-render. I ended up leaving it as-is because I didn’t want to have to rip out the guts to get something so simple to work.