When using livewire pagination you may want to scroll the page to the top after the page is updated. Here is how to do that:
1. Add updatedPage method to your component - livewire will call it automatically.
2. Add a js event listener to your template.
#laravel #livewire