update search params and skip loader reload #4987
apalumbo
started this conversation in
Show and tell / tips
Replies: 1 comment 1 reply
-
After reading a lot of code ;-) I found the remix way to do it. we will use the
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are migrating from nextjs to remix, in a page we are using the an option of nextjs router (shallowRender) to change the url and skip data fetching.
we only need to avoid to re-invoke the loader when pushing the updated current page (is an infinite scroll that use an external search engine on both client and server side) or at least detect in the loader code the fetch and avoid to call the search engine 2 times (one on the server and one on the client)
I'm already aware of this issue remix-run/react-router#8058, I think that the use case is different
Thankyou
Beta Was this translation helpful? Give feedback.
All reactions