Level 18
I think you don't need livewire.rescan any more in V3 as changes are picked automatically by Livewire
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
This code this livewire 2.x now i update livewire 3.4 how same thing doing not use Livewire.rescan(); ?
function loadModule(url) {
if(url != 'javascript:void(0)') {
$('#loader').show();
$.ajax({
url: url,
type: 'GET',
success: function(response) {
var newPage = $(response).find('section.home').html();
$('section.home').length ? $('section.home').html(newPage) : window.location.href = url
Livewire.rescan();
},
complete: function() {
$('#loader').hide();
rightDropdownScriptLoad();
}
});
}
}
Please or to participate in this conversation.