Merlin
Explore posts from serversRefetching Route Data with Solid Router
Is there any way to refetch (revalidate) the data functions with
@solidjs/router
? (not Solid Start; I'm using Vite)
- I'm mutating something on the backend and would like to make sure the data is up to date
- Returning the whole createResource
return value kind of works -- calling refetch
correctly refetches the data, but mutate
doesn't work.
- Additionally, I'd like to refetch/revalidate all resources somehow. Is that possible?115 replies