Livewire v4 provides seamless pagination.
Simple Pagination
use Livewire\WithPagination;
class PostList extends Component
{
use WithPagination;
public function render()
{
return view('posts', ['posts' => Post::paginate(10)]);
}
}Template
<div>
@foreach($posts as $post)
<div>{{ $post->title }}</div>
@endforeach
{{ $posts->links() }}
</div>