title: how to load React app / Lib inside ExtJs Component
body: <p>We are using Extjs 3.1 and we are trying to integrate reactjs into.
  we have vendor library which has react, reacr-dom, redux and other libs are packed and included as script.</p>
  
  <p>Here is my extjs code</p>
  
  <pre><code>var CompositeViewer = Ext.extend(Ext.BoxComponent, {
      itemId: 'CompositeViewer',
      requires: [
          'ReactDOM' //my lib file name is vendor.lib.js
      ],
      initComponent: function() {
          Ext.apply(this, {
              autoEl: {
                  tag: 'div',
                  cls: 'normalize'
              }
          });
          CompositeViewer.superclass.initComponent.apply(this, arg);
      },
      onRender: function(ct, position) {
          CompositeViewer.superclass.onRender.apply(this, arg);
          console.log(ReactDOM); //OFCOURSE ReactDOM is undefined  
          /// HOW TO LOAD/Render REACT APP AND OTHER LIBS
      },
      beforeDestroy: function() {
          CompositeViewer.superclass.onDestroy.apply(this, arg);
      }
  });
  </code></pre>
  
  <p>Need help in how to load reactjs/javascript libs into extjs container.</p>
  
  <blockquote>
    <p>EDIT:clarifying bit more.</p>
  </blockquote>
  
  <ol>
  <li>Since I don't have option to load external dependencies (react,redux etc) from cdn , how do I bundle it separately and what type (commonjs,umd or var)</li>
  <li>How do I bundle my app , so that ExtJS can import it (as separate lib ?? )</li>
  </ol>