What does this Eslint deprecation warning on React Component constructor really mean?

Viewed 425

I'm learning React and cant make sense of how to get rid of the Eslint warning. I follow the link that are suggested in the popup message and there it just done say anything what I can understand.

I removed the super() call then Eslint warn that I must make a super call I read that the constructor is being removed from React. even that post is 3 year old dunno what to make of this.

I also tried this.state = this.parse(); outside the constructor and that did not work! Supposedly one should be able to do also this this.myHandler = this.myHandler.bind(this); outside of the constructor but it's not acccepted.

Any clarity on this would be nice enter image description here

0 Answers
Related