import React, { Component } from \'react\';
import PropTypes from \'prop-types\';
import axios from \'axios\';
import { connect } from \'react-redux\';
I think it may has to do with ES 6 syntax for React. Now you don't have to use the constructor nor the super in React.
For example, you can write
export default class ExpenseForm extends React.Component {
state ={
description:'',
amount:''
}
}
VS Code may detect the unnecessary use of constructor and super that is crossed out.