Want to load React app/Lib inside ExtJs Component? You can achieve this by using ExtJS 3.4.1 working example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | Ext.onReady(function () { Ext.create({ xtype: 'panel', renderTo: Ext.getBody(), title: 'ExtJS Panel', items: [{ xtype: 'label', text: 'ExtJS Compoent' }, { xtype: 'panel', listeners: { afterrender: function () { const e = React.createElement; ReactDOM.render( e('div', null, 'ReactJS Component'), this.el.dom ); console.log('afterrender'); } } }] }); }); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.