Summary
Throughout this chapter, we have started to uncover the ability to create groups of controls that we can use time and again. These are called Components. This allows us to use the same functionality multiple times, manage it in one place, and thereby saves us time as we don’t have to create the same functionality time and again.
Our components can be created locally within an app, or if we want to share the component with a wider audience across multiple apps, then we can share them in a component library. Component libraries allow us to manage components centrally and will prompt any other makers who are using the component if any updates are available.
Our components are versatile, allowing us to define our own properties to act as an interface with the parent app. These properties can be classed as input properties, where we pass data into the component for it to be used, or can be classed as output properties where data can be returned from the component to the app...