1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Extract Reusable Tailwind Components

    tailwindTailwind

    The styles aren't the only thing that can be duplicated - often times HTML structure is repeated in our applications. You don't want to just pull out the styles in a @apply directive.

    This is where JavaScript comes in handy. We have the data available to us so we'll loop through that data and build repeated card components with Tailwind