We have seen where the compose custom element comes in handy, but there may be scenarios where it would be really nice to serve dynamic views. In this chapter, we will look into how Aurelia has this type of flexibility out of the box. When you have finished this chapter, you should have a firm understanding of how you can employ each of the techniques and when you would want to use them. Let’s get started.
getViewStrategy
We have already covered the view life cycle, but one thing that we left out is the function getViewStrategy. Every view model has the ability to ...