title: Initialize variables in constructor or in declaration
body: <p>When using ReactJS with TypeScript, is it better to initialize class variables in the constructor or when the class variable is being declared?  It works fine either way and the transpiled javascript looks the same either way.</p>
  
  <pre><code>export class MyClass extends React.Component&lt;iProps, {}&gt; {
        private myName: string = "Hello";
  
        constructor(props: iProps) {
           super(props);
  
           this.myName= "Hello";
        }
  }
  </code></pre>