Closed devajmeireles closed 3 months ago
Thanks. We'd appreciate a PR to help make this possible.
Thanks. We'd appreciate a PR to help make this possible.
Sure thing! I can try that, but don't you think it's better to keep the issue open with the help wanted label?
Volt Version
1.6.3
Laravel Version
11.4.0
PHP Version
8.3.6
Database Driver & Version
N/A
Description
While Livewire offers two ways to perform
$refresh
operation:In an original Livewire component
Using
#[On]
on top of the class, implemented here: https://github.com/livewire/livewire/pull/7667Using the old approach
$listeners
:In Volt's functional API style, we have no way of doing this. The docs doesn't mention anything about this. Thinking it would possibly be ready to use, but out of the docs, I tried:
None of this worked.
Steps To Reproduce
$refresh
magic action