Sam Lewis @saml.dev · Jan 4

Can anyone offer some Laravel Livewire advice? I've only used Inertia but looking into Livewire because of how cool Flux is. Is this the best way to send data down to the frontend for client-side iteration? It feels a bit clunky to send a stringified JSON object but maybe this is typical?

0 likes 1 replies

?

Replies

Josh Hanley 🇦🇺 · Jan 4

Yep, but use `@js($replies)` 😁 If you don't like that though, you can call a Livewire method like an API call, to get data after page loading. using `await $wire.myDataMethod()`