<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="babel --version
6.1.1 (babel-core 6.0.20)"><pre class="notranslate"><code class="notranslate">babel --version
6.1.1 (babel-core 6.0.20)
</code></pre></div>
<p dir="auto">.babelrc</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
  'presets': ['es2015', 'stage-0', 'react']
}"><pre class="notranslate"><code class="notranslate">{
  'presets': ['es2015', 'stage-0', 'react']
}
</code></pre></div>
<p dir="auto">EmptyComponent.jsx</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class EmptyComponent extends React.Component {
  constructor() {
    super()
  }

  nextStep = (e) =&gt; {
    e.preventDefault()
    this.saveValues()
  }
}"><pre class="notranslate"><code class="notranslate">class EmptyComponent extends React.Component {
  constructor() {
    super()
  }

  nextStep = (e) =&gt; {
    e.preventDefault()
    this.saveValues()
  }
}
</code></pre></div>
<p dir="auto">Running babel:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ babel src/app/components/EmptyComponent.jsx
SyntaxError: src/app/components/EmptyComponent.jsx: 'this' is not allowed before super() (This is an error on an internal node. Probably an internal error)
undefined"><pre class="notranslate"><code class="notranslate">$ babel src/app/components/EmptyComponent.jsx
SyntaxError: src/app/components/EmptyComponent.jsx: 'this' is not allowed before super() (This is an error on an internal node. Probably an internal error)
undefined
</code></pre></div>
<p dir="auto">However, this compiles successfully (just removed the <code class="notranslate">this.saveValues()</code> invocation)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class EmptyComponent extends React.Component {
  constructor() {
    super()
  }

  nextStep = (e) =&gt; {
    e.preventDefault()
  }
}"><pre class="notranslate"><code class="notranslate">class EmptyComponent extends React.Component {
  constructor() {
    super()
  }

  nextStep = (e) =&gt; {
    e.preventDefault()
  }
}
</code></pre></div>
<p dir="auto">Hello, I found that autobinding in classes are not work after update to 6.0</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="'this' is not allowed before super() (This is an error on an internal node. Probably an internal error)"><pre class="notranslate"><code class="notranslate">'this' is not allowed before super() (This is an error on an internal node. Probably an internal error)
</code></pre></div>
<p dir="auto">.babelrc</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
    &quot;presets&quot;: [
        &quot;react&quot;,
        &quot;es2015&quot;,
        &quot;stage-0&quot;
    ]
}"><pre class="notranslate"><code class="notranslate">{
    "presets": [
        "react",
        "es2015",
        "stage-0"
    ]
}
</code></pre></div>
<p dir="auto">Is it expected behavior?<br>
Thanks!</p>