1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
laravel-tips/content/tips/use-wireentangle-instead-of-entangle.md
Samuel Štancl cc3667933a Week 29/2022
2022-07-22 16:49:28 +02:00

518 B

title tweet_id thread_slug author_username images created_at slug
Use `$wire.entangle()` instead of `$entangle` 1550466505782874113 weekly-thread-2022-29 JuanDMeGon
https://pbs.twimg.com/media/FXu2k3xVEAMUFKg.jpg
2022-07-22T13:03:15+00:00 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. 🔥