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