How to manually rerun a loader without navigating? #204
Replies: 2 comments
-
|
This feature is really needed. If a pr was created for it would it get merged? Theres probably a workaround using another query management tool
This probably bypasses a lot of the loaders functional though (pending states wont be updated, ect) |
Beta Was this translation helpful? Give feedback.
-
|
Also looking for a solution to this. I have a query set up in the loader of a route that is later invalidated by a react-query update mutation. I was originally trying to do |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say I am on page /posts.
There I can
After submitting a new post, I want to rerun the loader, so that the list of posts gets updated.
How can I do that?
It would be nice to have something like:
Beta Was this translation helpful? Give feedback.
All reactions