1
0
Fork 0
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:
Samuel Štancl 2022-07-22 16:49:28 +02:00
parent 9ff2f9816b
commit cc3667933a
7 changed files with 82 additions and 2 deletions

View 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. 🔥