import React, { Component } from \'react\';
import PropTypes from \'prop-types\';
import axios from \'axios\';
import { connect } from \'react-redux\';
It appears on my code as well. I used VSCode version 1.49.0
and when I hover to that strikethrough, in essence it said that:
The React constructor is marked as deprecated
and shows me this link: https://reactjs.org/docs/legacy-context.html
But I'm not sure that has something to do with legacy context
. So I searched and found this fresh GitHub Issues discussion, they said it might an issue with the react typings.
Let's wait for an update from them.