Reusability: Part 2

Written by Laracasts - - Aggregated on Friday May 25, 2018

Let's continue with our accordion component refactor. In this lesson, we'll create two components: Accordion and AccordionItem. This will allow us to use a data-driven approach to declaring the visibility of each item's associated body. View the extended source code for this lesson on GitHub.


« Episode 10: Treasure, Old and New - php[architect] - The site for PHP professionals

Purple Booth - Pair Programming: A Practical Guide »