As Antuan stated, use an arrow function and you avoid the this bind problem.
Try it like
handleChange = e => {
this.setState({
editData: e.target.value
})
}
Without seeing the rest of your code or state but I hope that is what you're looking for.
I guess you have like an input field or something where you're trying to get the value from.
Also I would suggest to give your functions better names to make it more obvious what they are doing.
Make sure that you set the initial state to an empty or default value to avoid running into issues that the state get's initiated as null (I think it was when you don't set an initial state)
Edit 2: I just learned something new in the comments of my answer which is addressing your actual problem why you get null.
Your callback isn't immediate and asynchronous when you write it as a function instead of an object. And by the time it wants to access your synthetic event it is already gone. Thanks for pointing that out @DennisMartinez
I hope I haven't butchered or mis-explained the explanation and it makes sense.
Edit: Also set then on the element you want to use that function onChange={this.handleChange}
Cheers