Revalidate with useSwr
Unanswered
elswell posted this in #help-forum
elswellOP
I am trying to refetch and display the updated data on screen. But whatever I seem to change the newData that gets returned from the handleRefetch function is the already displayed old data. I have set the fetchCache to be "force-no-store" in the route.ts
Any idea on how I can achieve this?
Any idea on how I can achieve this?