Is your babel outdated?

Is your babel outdated in React-curriculum?

Getting the following error
SyntaxError: unknown: Support for the experimental syntax ‘classProperties’ isn’t currently enabled
Its reacting on the equal sign here:
handleChange = () => {}

My code so far


class DisplayMessages extends React.Component {
constructor(props) {
  super(props);
  this.state = {
    input: '',
    messages: []
  }
}
// add handleChange() and submitMessage() methods here

render() {
  return (
    <div>
      <h2>Type in a new Message:</h2>
      { /* render an input, button, and ul here */ }

      { /* change code above this line */ }
    </div>
  );
}
};

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.

Challenge: Manage State Locally First

Link to the challenge: