aurelia / documentation

The documentation for Aurelia.
MIT License
105 stars 111 forks source link

Replaceable and replace-part #350

Closed RomkeVdMeulen closed 7 years ago

RomkeVdMeulen commented 7 years ago

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.

EisenbergEffect commented 7 years ago

Yes, it's definitely supported :)

EisenbergEffect commented 7 years ago

(Definitely needs more documentation.)