skateshop icon indicating copy to clipboard operation
skateshop copied to clipboard

Trigger page load on pagination click

Open kavinvalli opened this issue 1 year ago • 3 comments

Clicking on a different page number in the products page, takes a few seconds to change the search parameter, so the page is basically the same till that point (does not trigger the loading page)

I wonder if there is a way to do it more instantly

kavinvalli avatar Aug 29 '23 11:08 kavinvalli

It will show loading state, if we put it within suspense and assign a random id to the suspense.

Was it slow in the dev?

I am seeing a few routes take a lot of time to load and update.

sadmann7 avatar Aug 29 '23 20:08 sadmann7

No no, not in dev. So in prod, when I click on different page in the pagination component, it takes a few seconds to even load the loading state

kavinvalli avatar Aug 30 '23 08:08 kavinvalli

Yeah its kindda slow

sadmann7 avatar Sep 05 '23 00:09 sadmann7