1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 21:34:03 +00:00
laravel-tips/content/tips/compose-components-using-traits.md
2021-04-09 18:47:19 +02:00

474 B

title tweet_id thread_slug author_username images created_at slug
Compose components using traits obscure-livewire-tips samuelstancl
https://cln.sh/j3Jtnw/download
2021-04-09T17:12:56+02:00 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