Unlike traditional Rails views, ViewComponents can be unit-tested. This section describes reusable components and shows you how to take advantage of them in your applications. You want your app, your experience to be designed just for you. In our cause, let's remove the default padding and margin. top reasons listed by a Vanderbilt University professor back in 1999. can be used as reused accordingly. Click on the different category headings to find out more and change our default settings. It then it will return undefined and error in that case :) good catch. Companies make sure their product is consistent on iOS, Android and web. Consistency – The primary functions will be consistent, allowing greater control and scalability for those building the apps and a more consistent experience for the users. Components are most effective in cases where view code is reused or benefits from being tested directly. When a component is used more than once, it is reusable. This is the Compound Components pattern and this is one of the many patterns you can use when building UI components. Now you have to search for every place that has