Replies: 1 comment
-
You can redirect from your loader export function loader() {
return redirect('/products?page=1&limit=25')
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to set query parameters on the response of the LoaderFunction? What I want to to is to set query parameters for pagination (limit & page) to the browsers url when none are already provided.
The users visits: "/products" and gets "/products?page=1&limit=25"
Beta Was this translation helpful? Give feedback.
All reactions