aurelia 1.0 中的可替换属性是否已过时?

Is replaceable attribute obsolete in aurelia 1.0?

我的印象是 slot 取代了 replaceable,但我听说 replaceable 在 1.0 版本中重新引入,这是真的吗?

replaceable 由于 Shadow DOM v1 规范中的插槽未涵盖的用例而仍然存在:

The new Shadow DOM v1 spec has support for slot "fallback content". As a result, our replaceable attribute is no longer needed and has been removed in favor of slot fallbacks. However, slots do not solve the problem of replacing a template that is used by a repeat, if or other template controller. So, we still support placing the part attribute on a template controller's element and overriding it by using replace-part in the element's content.

http://blog.durandal.io/2016/06/08/getting-prepared-for-aurelia-1-0-0-rc/