Reusable Components

Published: 25 April 2017
on channel: Holodeck
28,946
281

Check out more great Angular 2+ courses on Angularcasts :) https://goo.gl/CVqAkW

Get the course files!
http://bit.ly/ng2-course-files

Right now we're rendering the crib cards in just one location, the main view of the app. But what happens if we wanted to reuse them in other spots later on? As it stands, we'd need to copy the HTML and any logic over to a new location, but this isn't ideal. Instead we should make a reusable display component so that we have an easier time with maintainability in the future.


Watch video Reusable Components online without registration, duration hours minute second in high quality. This video was added by user Holodeck 25 April 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 28,94 once and liked it 28 people.