Transform plugin vs Syntax plugin in Babel
<p>I want to use <code>Class properties</code> in my webpack setup.
Following along with this book (www.survivejs.com), I noticed the author adds 2 plugins to the <code>.babelrc</code> file: <code>babel-plugin-syntax-class-properties</code>as well as <code>babel-plugin-transform-class-properties</code>.</p>

<p>Looking at the babel docs of the <code>syntax-class-properties</code> it states:</p>

<blockquote>
  <p>Syntax only </p>
  
  <p>This plugin only allows Babel to parse this syntax. If you
  want to transform it then see transform-class-properties.</p>
</blockquote>

<p>What's the difference? And do I need both? My code seem to run fine just with the transform plugin. </p>