Closed schaper1337 closed 3 weeks ago
Suggestion: in src/Livewire/RecentlyMenu.php the $records should not be retrieved once on component mount() but rather each time in render().
Feel free to PR the change. I'll review it with a reproduction repo. But the spa livewire mode isn't something I'm overly worried about since it's buggy. If you need an SPA then make an SPA.
What happened?
When using SPA Mode, a manual refresh of the page is required, to see the correct list of recent entries in the dropdown.
How to reproduce the bug
Use SPA Mode and click through multiple pages that use the HasRecentHistoryRecorder Trait.
Package Version
1.0.3
PHP Version
8.2
Laravel Version
11.26.0
Which operating systems does with happen with?
No response
Notes
No response