SyntaxFix
Write A Post
Hire A Developer
Questions
You have to bind your event handlers to correct context (this):
this
onChange={this.setAuthorState.bind(this)}