79448516

Date: 2025-02-18 14:08:32
Score: 2
Natty:
Report link

You just need to add this attribute to your bootstrap script tag "data-navigate-once", It will stop livewire from re-evaluating the script each time it navigates. Effectively solving the problem.

Refer to the docs here for more information: https://livewire.laravel.com/docs/navigate#reloading-when-assets-change

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user29696521