search param not updating the loaderData on route change!
i'm using this
should i fetch the actual data on
also using this in RouteComponent to get the Loader data:
/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:
message.txt5.97KB