React makes the management of state in an input text easy, for controlled components. You can do this:
class App extends Component { state = { username: '' }
handleInputChange = (event) => {…
handleInputChange = (event) => {