mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
Week 29/2022
This commit is contained in:
parent
9ff2f9816b
commit
cc3667933a
7 changed files with 82 additions and 2 deletions
15
content/tips/use-wireentangle-instead-of-entangle.md
Normal file
15
content/tips/use-wireentangle-instead-of-entangle.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: 'Use `$wire.entangle()` instead of `$entangle` '
|
||||
tweet_id: '1550466505782874113'
|
||||
thread_slug: weekly-thread-2022-29
|
||||
author_username: JuanDMeGon
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FXu2k3xVEAMUFKg.jpg'
|
||||
created_at: 2022-07-22T13:03:15+00:00
|
||||
slug: use-wireentangle-instead-of-entangle
|
||||
---
|
||||
TIL:
|
||||
|
||||
In Laravel Livewire, it's better sometimes to use wire.entangle(), instead of the entangle directive, avoids weird issues like "invalid or unexpected token."
|
||||
|
||||
Thanks, @samuelstancl, for posting that gem. 🔥
|
||||
Loading…
Add table
Add a link
Reference in a new issue