React with ES7: Uncaught TypeError: Cannot read property ‘state’ of undefined [duplicate] July 9, 2023 by Tarik You have to bind your event handlers to correct context (this): onChange={this.setAuthorState.bind(this)}