Let's continue with our accordion component refactor. In this lesson, we'll create two components:
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.
Published on May 25th, 2018.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.