advice on refreshing a table
I have a page with two livewire components.
TaskCreate and TaskList
Is there a way to target/reload TaskList once a task is created?
Right now I do a full page reload.
Thanks.
1 Reply
You could use
key="{{ now() }}"
in the task list component
https://livewire.laravel.com/docs/nesting#forcing-a-child-component-to-re-render
or use livewire events
https://livewire.laravel.com/docs/eventsLaravel
Events | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Laravel
Nesting Components | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.