title: Reactjs : why const is not allowed in react class?
body: <p>Why react class  const is not allowed ? if i am assigning  template_counter and return in  render method getting error : SyntaxError: src/index.js: Unexpected token . I am using babel-cli@6.24.1 to convert this react code.</p>
  <pre><code>  class Counter extends React.Component{
       const template_counter = (&lt;div&gt;&lt;h1&gt;Counter Component&lt;/h1&gt;&lt;p&gt;count : 0 &lt;/p&gt;&lt;/div&gt;);
       render(){
            return this.template_counter; 
        }
     }
  </code></pre>