--- title: 'Compose components using traits' tweet_id: '' thread_slug: obscure-livewire-tips author_username: samuelstancl images: - 'https://cln.sh/j3Jtnw/download' created_at: 2021-04-09T17:12:56+02:00 slug: compose-components-using-traits --- Traits are a powerful way to reuse functionality between Livewire components. They're generally better than component nesting, since that comes with more complexity and worse performance. Next up: Advanced trait examples