Skip to content
Discussion options

You must be logged in to vote

There's a discussion to add a feature to ask Remix to refresh data #1996, in that discussion Ryan mentions some ways to achieve that right now, the best way is to use a fetcher to submit to an action returning nothing, so then Remix will trigger a revalidation of the data from the loaders.

There's an implementation of that useDataRefresh hook mentioned on remix-utils too in case you want to try that, the internal implementation is quite simple and you could copy it too

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KnisterPeter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants