Good news, the DevExtreme widgets are now available as separate modules in the v16.1 release! Modules provide benefits and are key components in Modularity:
Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality. Wikipedia
Separate DevExtreme widget modules can help you create a smaller bundle of necessary scripts that need to be loaded for your project.
However, there is a big warning with modules: You are now responsible for making sure to include the necessary DevExtreme modules that are referenced in your project. If you do not include the necessary modules then your project will have website errors.
I demonstrate and discuss these points in the webinar below.
Watch the webinar
Watch my recent webinar to learn how to use DevExtreme Modules with RequireJS and WebPack:
Links to helpful items
Here are several helpful links that were mentioned in the webinar:
- DevExtreme examples on GitHub - These are the main DevExtreme module samples
- DevExtreme Basics: Add a wiget