mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
livewire thread
This commit is contained in:
parent
a60370fbc9
commit
57ab16675e
18 changed files with 244 additions and 25 deletions
16
content/tips/compose-components-using-traits.md
Normal file
16
content/tips/compose-components-using-traits.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue