Summary
In this chapter, you have learned how to extend Knockout using custom bindings and components. Custom bindings extend the options we can use inside the data-bind attribute and give us the power to make our code more readable, isolating DOM and data manipulation inside them. On the other hand, we have components. Components have their own view-model. They are an isolated application themselves. They help us to build complex applications through small pieces of code that interact with each other.
Now that you know how to split applications into small pieces of code, in the next chapter, you are going to learn how to use events in an unobtrusive way and how to extend observables to increase the performance and capabilities of Knockout.
To ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access