Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What are the two types of dependencies in extjs?


Asked by Moshe Ayers on Dec 03, 2021 Extjs



There are two types of dependencies in ExtJS. Dependencies declared with requires property are loaded before the instance of the class is created. Dependencies defined in uses property might be loaded after the instance of the class is created. It is also possible to override classes. Even built-in classes.
Likewise,
Originally built as an add-on library extension of YUI by Jack Slocum on April 15, 2007, beginning with version 1.1, Ext JS retains no dependencies on external libraries, instead making their use optional.
In addition, There are two types of Selection Models in ExtJS, one is the Ext.selection.RowModel, whose xtype is rowmodel. This is a Selection Model that allows selection of Grid rows. It also implements row navigation through the device’s keyboard.
Thereof,
In that particular case you NEED to place @types/* package with regular "dependencies". For other cases "devDependencies" are good enough. If you're just generating a bundle there may be no need to make the distinction between dependencies and devDependencies.
Next,
1 Functional Dependency 2 Fully-Functional Dependency 3 Transitive Dependency 4 Multivalued Dependency 5 Partial Dependency