Now especially that we are loading in tens of thousands of buildings, we should add pagination to the search page, otherwise you can't even view all buildings of a certain type, like so:
The issue is that Gridsome has a Pager component, but it's mostly intended for static use, while the search page is client-side.
We may also want to add more filtering or order tools, but that can be a separate issue.
Now especially that we are loading in tens of thousands of buildings, we should add pagination to the search page, otherwise you can't even view all buildings of a certain type, like so:
The issue is that Gridsome has a
Pager
component, but it's mostly intended for static use, while the search page is client-side.We may also want to add more filtering or order tools, but that can be a separate issue.