|Dojo 2 Rebuilt With New CLI|
|Written by Kay Ewbank|
|Tuesday, 15 May 2018|
The developers say they want to make it easy to use features such as web components, and emerging web standards such as Intersection Observers, Resize Observers and Web Animations while preserving an efficient, reactive architecture. They say that consistently aligning with modern standards is the best option for extending the longevity of applications you create.
The new version includes reactive, virtual DOM-based widget system. Widgets are the basic building blocks of Dojo 2’s user interface. They combine both the visual and behavioral aspects of a component into a single element. These aspects are encapsulated within the widget’s implementation. The widget system includes meta providers to preserve reactivity for things like animations, focus, and resize events.
The new CLI is described as a collection of packages, providing a CLI architecture enabling a modular approach to create and work with commands. There's CLI tooling to create optimized applications that automatically have code splitting and build time rendering provided.
Another improvement to the new version is cleaner support for web components including full support for importing and exporting custom elements for use within Dojo 2 and other frameworks.
or email your comment to: firstname.lastname@example.org