concept change in category aurelia

This is an excerpt from Manning's book Aurelia in Action.
The Aurelia dialog is required to implement the book-sharing feature in chapter 12. To complete this setup, you’ll first need to download the plugin from npm and install it in your Aurelia project. You’ll then need to get the latest my-books stylesheet version, which contains changes specific to chapter 12 and the dialog component.
This pattern that you’ve followed for breaking down the UI into a set of custom elements is one of the key patterns you’ll follow when creating Aurelia applications. As UIs grow in complexity, it’s key to modularize the layout by breaking it down into small, well-defined pieces. The benefit is that you can then take these custom elements and either move them to different areas of your application to adjust as layout requirements change, or even reuse the components in different contexts. For example, imagine that you want to add the ability for users to upload a book-cover image to be stored with the book and displayed in the book list. Further, you also want to allow users to upload an Excel spreadsheet listing all their books to bulk load their entire library. If you build this upload functionality as a custom-element component, you can reuse this same element as-is to implement both of those requirements. The book-list component modularization you completed would also be useful in this case; to add the ability to render the book-cover image for each item in the list, the only component you need to modify is the book-list component. This keeps the change encapsulated, making it easier to reason about and test.
Aurelia uses binding to propagate changes in data from the view to the view-model and vice versa.
Listing 15.10. Creating ux-text-area spec (ux-text-area.spec.js)
... it("it saves changes when ok button is clicked", done => { component .create(bootstrap) .then(() => { const updatedValue = 'Updated value'; editText().then(_ => { #1 changeTextAreaValue(updatedValue); #2 clickOkButton().then(_ => { #3 let actualDescription = getTextBlockElement().innerHTML; #4 expect(actualDescription).toBe(updatedValue); #5 done(); }); }); }) .catch(e => { console.log(e.toString()); }); }); afterEach(() => { component.dispose(); }); });