title: React/ASP - Support for the experimental syntax 'classProperties' isn't currently enabled
body: <p>Have been following a post which details the steps required for setting up <a href="https://reciosonny.com/how-to-integrate-reactjs-in-existing-asp-net-mvc-app/" rel="nofollow noreferrer">React with C#</a>. <strong>However</strong>, I am being presented with the following error everytime I try to compile a React application:</p>
  <p><code>Support for the experimental syntax 'classProperties' isn't currently enabled</code></p>
  <pre><code>onChange = (e) =&gt; {
      this.setState({ value: parseInt(e.currentTarget.value, 10) });
  };
  </code></pre>
  <p>The error message outlines:</p>
  <p><code>Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation. If you want to leave it as-is, add @babel/plugin-syntax-class-properties (https://git.io/vb4yQ) to the 'plugins' section to enable parsing.</code></p>
  <p>Therefore, I altered my package.json to suit:</p>
  <pre><code>{
   &quot;name&quot;: &quot;Test&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
      &quot;build&quot;: &quot;webpack --config=Scripts/React/config/webpack.config.js&quot;
    },
    &quot;keywords&quot;: [],
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;devDependencies&quot;: {
      &quot;@babel/core&quot;: &quot;^7.10.3&quot;,
      &quot;@babel/plugin-proposal-class-properties&quot;: &quot;^7.10.1&quot;,
      &quot;@babel/preset-react&quot;: &quot;^7.10.1&quot;,
      &quot;@babel/preset-env&quot;: &quot;^7.2.3&quot;,
      &quot;babel-preset-react&quot;: &quot;^6.23.0&quot;,
      &quot;babel-loader&quot;: &quot;^8.1.0&quot;,
      &quot;react&quot;: &quot;^16.13.1&quot;,
      &quot;react-dom&quot;: &quot;^16.13.1&quot;,
      &quot;webpack&quot;: &quot;^4.43.0&quot;,
      &quot;webpack-cli&quot;: &quot;^3.3.12&quot;
    },
    &quot;dependencies&quot;: {
      &quot;react-countup&quot;: &quot;^4.3.3&quot;,
      &quot;react-router&quot;: &quot;^5.2.0&quot;,
      &quot;react-svg-gauge&quot;: &quot;^1.0.10&quot;,
      &quot;reactstrap&quot;: &quot;^8.5.1&quot;,
      &quot;recharts&quot;: &quot;^1.8.5&quot;
    },
    &quot;babel&quot;: {
      &quot;presets&quot;: [
        &quot;@babel/preset-env&quot;,
        &quot;@babel/preset-react&quot;
      ],
      &quot;plugins&quot;: [
        &quot;@babel/plugin-proposal-class-properties&quot;
      ]
    }
  }
  </code></pre>
  <p>Despite this, I am still receiving the same error. Does anyone have any ideas as to how I can mitigate this issue?</p>