search param not updating the loaderData on route change!
i'm using this
/c/$slug
route with search params. on the route change it changed the url but the actual page data is not getting updating. I'm using it in pagination component. I'm using useNavigate.
reloadDocument: true
does fix it but since it's doing hard reload it might cause issue with caching all. So is there anything i'm doing wrong here to get the data to actual page?
should i fetch the actual data on beforeLoad
and then just return it along side page & perPage!
also using this in RouteComponent to get the Loader data:
0 Replies