v0.21.0
v0.21.0
Not many changes, but they will significantly improve the developer experience. The main idea is that we are getting closer to having nice single file components.
Changes
- fix: qweb crash in some cases involving
t-call
, multiple sub nodes and one text node - component: the
components
key is now static (breaking change) - component: support dynamic root nodes (either subcomponent or dom nodes) and switching between them
- component: add support for dynamic props with
t-props
- router: replace the
t-routecomponent
directive withRouterComponent
(breaking change) - component: make the
template
key static (breaking change) - qweb: add
QWeb.registerTemplate
method - qweb: rename
register
method toregisterComponent
(breaking change) - tags: introduce the
xml
tag