Ditching State for SearchParams: The Future of Next 13(cosmicjs.com)
cosmicjs.com
Ditching State for SearchParams: The Future of Next 13
https://www.cosmicjs.com/blog/ditching-state-for-searchparams-the-future-of-next-13
https://www.cosmicjs.com/blog/ditching-state-for-searchparams-the-future-of-next-13
We explore the benefits of server-side pagination such as improved page load times and SEO, and the ability to store state in URL parameters.
The tutorial walks through the steps of replacing client-side state management with URL parameters, creating a Pagination component, and implementing the necessary logic for navigation.
Finally, we use Cosmic CMS to manage the data, but the approach is applicable to other data stores as well.