title: Flux Utils TypeError: Class constructor App cannot be invoked without 'new'
body: <p>I am trying to implement a Flux Util container on the following React component:</p>
  
  <pre><code>class App extends React.Component&lt;{},AppState&gt; {
   constructor(props:Readonly&lt;{}&gt;){
      super(props);   
   }
   static getStores(){
      return [ArticlesStore];
   }
  
   static calculateState(prevState:AppState):AppState{
      return {
          articles:ArticlesStore.getState()
      }
   }
   render() {
      return (
          &lt;main&gt;
              &lt;Navbar&gt;&lt;/Navbar&gt;
              &lt;Routes&gt;&lt;/Routes&gt;
          &lt;/main&gt;
      );
   }
  }
  
  
  interface AppState{
   /**
    * Articles retrived from the ArticlesState to be used in the rendering of the page
    */
   articles:ArticlesStoreState;
  }
  
  export default Container.create(App);
  </code></pre>
  
  <p>In implementing the required code for creating a container, I followed both the example provided on the flux website and some other code found on GitHub as reference. But when running this code, I get the following error:</p>
  
  <pre><code>`TypeError: Class constructor App cannot be invoked without 'new'.` 
  </code></pre>
  
  <p>(I am using typescript)</p>
  
  <p>Does anyone have any idea what might cause this error this error? Thanks in advance!</p>