title: ReactJS: Uncaught SyntaxError: Unexpected token (
body: <p>For some reason I'm getting <code>Uncaught SyntaxError: Unexpected token (</code>. No matter how simple the code is, I keep getting this error. There are similar questions but none solve this issue.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var Example = React.createClass({
    render: function() {
      return ( 
        &lt;div&gt;
          &lt;h1&gt; Hello &lt;/h1&gt;
        &lt;/div&gt;
      );
    }
  });
  
  ReactDOM.render( &lt;Example/&gt; , document.getElementById('example'));</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
  &lt;head&gt;
    &lt;script src="https://fb.me/react-0.14.2.js"&gt;&lt;/script&gt;
    &lt;script src="https://fb.me/react-dom-0.14.2.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;div id="example"&gt;&lt;/div&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>