#Using loaderData in useEffect
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
By refetch from a loader in a use effect do you mean calling a loader or getting data that was returned from a loader using the useMatches route?
I am fetching data within the loader function but that data is always changing. Which is why I need a way to repeatedly call useLoaderData with updated data from the loader
Can you create a codesandbox so I can have alook at this?