Code optimization methods in extjs?

I am dynamically creating some controls on the page. it will become slow when we have about fifty controls.

What are the code optimization methods / guidelines used in extjs? Are there any specific methods that slow down the whole load?

+5
source share
2 answers

My advice

  • Use Ext.container.Container, not Ext.panel.Panel.
  • Instead of adding ext components, use an XTemplate with a data view to load similar controls.
  • , . , . - . . http://css-tricks.com/css-sprites/
+1

Sencha :

Ext JS 4.1 :

  • , , .
  • CSS.
  • JavaScript.
  • DOM-.

JS 4.1 .

+6

All Articles