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, duration hours minute second in high quality that is uploaded to the channel Holodeck 25 April 2017. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 28,946 times and liked it 281 visitors.