Class properties are on their way to making it into the spec. Moving to them will also align us better with the greater React community since many projects have adopted this syntax. Example of the change is below:
Before
class SomeComponent extends Component {
constructor(props) {
super(props);
this.state = {
isLoading: false,
};
bindMethods(this, ['handleClick']);
}
handleClick() {}
}
After
class SomeComponent extends Component {
state = {
isLoading: false,
};
handleClick = () => {}
}
TC39 Proposal
Stage Explanations