aurelia/documentation

Replaceable and replace-part

RomkeVdMeulen opened this issue · 2 comments

I came across replace-part by chance when I saw @EisenbergEffect publish EisenbergEffect/aurelia-composition-demo and I wish I'd known about it months ago, before I started manually compiling views and attaching view slots. Even now that I know what to look for I can barely find any documentation on it (beside this blog post), and its official status seems to be unclear. From what I can put together looking at half a dozen issues and SO questions, replaceable was supposed to be phased out in favor of slots, but then it turned out slots won't work in if.bind or repeat.for.

So to be perfectly clear: is replace-part supported and will it continue to be supported? If so, I'd love to see more documentation on its use added to the official documentation.

Yes, it's definitely supported :)

(Definitely needs more documentation.)