icon

Aurelia 2 Update - Alpha 12

aurelia.io · 发布时间:2021-07-12 00:27:33

以下内容来自网站订阅源,完整文章请查看原文。

There have been a few improvements since our last update for Aurelia 2 alpha 8. The focus of our progress has been introducing various missing powerful features from v1, namely template compilation hooks, caching control of [if]/[else] and DI factory resolution. It’s now possible to hook into compilation with compiling, there is also a powerful @factory decorator for instantiating services. An example of registering a compiling hook globally is as follow:
查看原文 返回首页